X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/031eab6cd4f542127401e981dc2d616aa5baf3e1..9991adf95aef7229da52987edf488c728a40058b:/.cshrc diff --git a/.cshrc b/.cshrc index eca8cb860e..8bef439533 100644 --- a/.cshrc +++ b/.cshrc @@ -1,2 +1,34 @@ -set path=(/usr/ucb /bin /usr/bin /usr/local /etc .) history=25 -setenv PATH :/usr/ucb:/bin:/usr/bin:/etc +alias mail Mail +set history=100 +# directory stuff: cdpath/cd/back +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 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 x exit +alias pd pushd +alias pd2 pushd +2 +alias pd3 pushd +3 +alias pd4 pushd +4 +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/\..*//'`# " +endif