1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | # $FreeBSD$
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
#
alias cls clear
alias df df -H
alias h history 25
alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lA
alias ping ping -nc5
# 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 nano
setenv PAGER more
setenv BLOCKSIZE M
setenv TERM xterm
set autolist
set color
set colorcat
set nobeep
if ($?prompt) then
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
endif
endif
set rgb_restore = '%{^[[00m%}'
set rgb_black = '%{^[[00;30m%}'
set rgb_firebrick = '%{^[[00;31m%}'
set rgb_red = '%{^[[01;31m%}'
set rgb_forest = '%{^[[00;32m%}'
set rgb_green = '%{^[[01;32m%}'
set rgb_brown = '%{^[[00;33m%}'
set rgb_yellow = '%{^[[01;33m%}'
set rgb_navy = '%{^[[00;34m%}'
set rgb_blue = '%{^[[01;34m%}'
set rgb_purple = '%{^[[00;35m%}'
set rgb_magenta = '%{^[[01;35m%}'
set rgb_cadet = '%{^[[00;36m%}'
set rgb_cyan = '%{^[[01;36m%}'
set rgb_gray = '%{^[[00;37m%}'
set rgb_white = '%{^[[01;37m%}'
set rgb_std = "${rgb_white}"
limit coredumpsize 0
#set prompt = "${rgb_red}[%n@%m:%c]%#${rgb_restore}"
#set prompt = "[%n@%m:%c]%#"
set prompt = '[%B%m%b] %B%~%b%# '
|
x
Notes
The “set rgb_” portion at the bottom is from this website I believe.