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