os:freebsd:tcsh
tcsh
.tcshrc
# righteous umask umask 22 # environment vars setenv EDITOR vi setenv LC_ALL de_CH.ISO8859-15 setenv PACKAGESITE ftp://ftp.freebsd.ch/pub/FreeBSD/ports/i386/packages-7-stable/Latest/ setenv PKG_SITES ftp://ftp.freebsd.ch/pub/FreeBSD/ports/i386/packages-7-stable/ setenv BLOCKSIZE K # set vars set listjobs # all jobs are listed when a job is suspended set noclobber # prohibit > to existing files set filec # filename completion set nobeep # beeping is completely disabled set autocorrect # the spell-word editor command is invoked #set correct = all # commands are automatically spelling-corrected set rmstar # the user is prompted before `rm *' is executed. set history = 1024 # the number of history events to save set savehist = 1024 # how many lines are saved before exiting set autolist # do autolisting of commands while completing. set mail = (/var/mail/$USER) # set mailbox # unset vars unset autologout # aliases alias ls ls -GF alias ll ls -loA # set prompt if ($?prompt) then set prompt = "[%B%n@%m%b] %B%~%b/> " if (`whoami` == "root") then set prompt = "[%{^[[41m%}%B%n@%m%b] %B%~%b/>%{^[[39m%} " endif endif # bind key's if term is xterm or putty if ($term == "xterm") then bindkey ^[[1~ beginning-of-line # Home bindkey ^[[2~ overwrite-mode # Ins bindkey ^[[3~ delete-char # Delete bindkey ^[[4~ end-of-line # End bindkey ^[[5~ history-search-backward # Page-Up bindkey ^[[7~ beginning-of-line # Home rxvt bindkey ^[[6~ history-search-forward # Page-Down bindkey ^[[8~ end-of-line # End rxvt endif
os/freebsd/tcsh.txt · Last modified: 2014-12-18 20:08 by 127.0.0.1