Linux Environment: Shell initialization file, for TCSH, CSH

Source: Internet
Author: User

Tcshell, Cshell

Configuration file

Global configuration file/ETC/CSH.CSHRC
Personal Profile ~/.CSHRC or ~/.TCSHRC

Reference:

1. Configure your csh/tcsh, https://wiki.freebsdchina.org/howto/c/config_your_csh

2. My. CSHRC Common Settings http://biancheng.dnbcw.info/bsd/260256.html

I use CSH and like to add the following in. CSHRC:
#给ls增加眼色, add '/' after directory name
Alias LS LS-GF
#可以像bash那样按tab键显示可以选择的命令
Set Autolist
#为gnome设置中文环境
Setenv LANG ZH_CN.EUCCN
Setenv lc_ctype ZH_CN.EUCCN
#我是用fcitx, so
setenv xmodifiers @im =FCITX
#设置命令行提示符为: User name @ machine name [directory name] #
Set prompt= "%[email protected]%m[%~]#" #在 # Add a space after

3. Tcsh Getting Started http://www.blogjava.net/weidagang2046/articles/9107.html

TCSH Shell Initialization file
TCSH Shell has 3 initialization files:. login. tcshrc. logout,.login file is each time you register
Executes the registered initialization file, the. TCSHRC file is the shell initialization that executes every time the TCSH shell is entered
File, which is executed at registration time or entered tcsh shell directly from another shell using the tcsh command
Execute, and execute the. Logout file each time the injection is eliminated

Linux Environment: Shell initialization file, for TCSH, CSH

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.