X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/dfb9b3bc81ecffc85e55c6e9486782d0d76223c6..9991adf95aef7229da52987edf488c728a40058b:/.cshrc diff --git a/.cshrc b/.cshrc index 00ce6d55f8..8bef439533 100644 --- a/.cshrc +++ b/.cshrc @@ -1,27 +1,34 @@ alias mail Mail -set history=40 +set history=100 # directory stuff: cdpath/cd/back -set cdpath=(/a/wnj) +set cdpath=(/usr/src/{bin,etc,ucb,usr.bin,lib,usr.lib,lib/libc,new} /sys) alias cd 'set old=$cwd; chdir \!*' +alias h history +alias j jobs -l +alias ls ls -F +alias wi whereis alias back 'set back=$old; set old=$cwd; cd $back; unset back; dirs' # sccs stuff: sd/co/ci/allout/out/unedit -alias sd 'sccs get -p \!* | diff - \!$' +alias sd sccs diffs alias co sccs get -e alias ci sccs delget alias allout "(cd ..; echo */SCCS/p.*|sed s/SCCS\\/p.//g)" alias out "echo SCCS/p.*|sed s/SCCS\\/p.//g" alias info sccs info alias unedit sccs unedit +alias get sccs get +# spms stuff: chproject/cpd +alias chproject 'eval `"chproject" -d \!*`' +alias cpd 'eval `"pd" \!*`' alias z suspend alias area 'grep \!* /usr/games/lib/quiz.k/areas' -alias tel 'grep -i \!* /usr/bill/bin/telno' alias x exit alias pd pushd alias pd2 pushd +2 alias pd3 pushd +3 alias pd4 pushd +4 -alias j jobs -l -set path=(/etc /usr/ucb /bin /usr/bin /usr/local /usr/hosts .) +alias l "echo \!*{*}" +set path=(/etc /usr/ucb /bin /usr/bin /usr/local /usr/hosts . /usr/new) if ($?prompt) then - set prompt="`hostname | sed s/ucb//`# " + set prompt="`hostname | sed 's/\..*//'`# " endif