dot.cshrc (12554) | dot.cshrc (12560) |
---|---|
1#csh .cshrc file 2 3alias h history 25 4alias j jobs -l 5alias la ls -a 6alias lf ls -FA 7alias ll ls -lA 8 9setenv EDITOR vi 10setenv PAGER more 11setenv BLOCKSIZE K 12 13if ($?prompt) then 14 # An interactive shell -- set some stuff up | 1#csh .cshrc file 2 3alias h history 25 4alias j jobs -l 5alias la ls -a 6alias lf ls -FA 7alias ll ls -lA 8 9setenv EDITOR vi 10setenv PAGER more 11setenv BLOCKSIZE K 12 13if ($?prompt) then 14 # An interactive shell -- set some stuff up |
15 16 set noglob; eval `tset -s`; unset noglob 17 stty -istrip 18 | |
19 set filec 20 set history = 100 21 set savehist = 100 22 set mail = (/var/mail/$USER) | 15 set filec 16 set history = 100 17 set savehist = 100 18 set mail = (/var/mail/$USER) |
23 24 # customize prompt - works with tcsh only 25 set machine = `hostname -s` 26 if ("$TERM" == xterm) then 27 alias cwdcmd 'echo -n "]0;${USER}@${machine}: `dirs`"' 28 set prompt = "> " 29 else 30 alias cwdcmd 'set prompt = "${USER}@${machine}:${cwd}> "' 31 endif 32 cwdcmd 33 34 # fix broken prompt after su 35 alias su 'su \!* ; cwdcmd' | |
36endif | 19endif |