Initial commit (again)
This commit is contained in:
45
.tcshrc
Normal file
45
.tcshrc
Normal file
@ -0,0 +1,45 @@
|
||||
#
|
||||
# .cshrc - csh resource script, read at beginning of execution by each shell
|
||||
#
|
||||
# see also csh(1), environ(7).
|
||||
#
|
||||
|
||||
alias h history 25
|
||||
alias j jobs -l
|
||||
alias la ls -a
|
||||
alias lf ls -FA
|
||||
alias ll ls -lA
|
||||
# A righteous umask
|
||||
umask 22
|
||||
|
||||
set path = ( /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
|
||||
|
||||
setenv EDITOR vim
|
||||
setenv TERM xterm-256color
|
||||
setenv PAGER less
|
||||
setenv BLOCKSIZE K
|
||||
setenv LANG en_US.UTF-8
|
||||
|
||||
if ($?prompt) then
|
||||
# An interactive shell -- set some stuff up
|
||||
set filec
|
||||
set history = 100
|
||||
set savehist = 100
|
||||
set mail = (/var/mail/$USER)
|
||||
if ( $?tcsh ) then
|
||||
bindkey "^W" backward-delete-word
|
||||
bindkey -k up history-search-backward
|
||||
bindkey -k down history-search-forward
|
||||
set autolist
|
||||
set correct=cmd
|
||||
# set watch = (0 any any)
|
||||
set autologout=0
|
||||
set filec
|
||||
if ($uid) then
|
||||
set prompt = "%{\033[34m%}%B<%n@%{\033[31m%}%m%{\033[34m%}>%b%{\033[0m%} %~ > "
|
||||
else
|
||||
set prompt = "%{\033[31m%}%B<root@%{\033[31m%}%m%{\033[31m%}>%b%{\033[0m%} %~ # "
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user