X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/e804469b5b0975de34bae1e66c3e6371249d3ee7..064499467a7613857b30980bbee3b6e73d15152a:/.cshrc diff --git a/.cshrc b/.cshrc index 00ce6d55f8..3d467e576f 100644 --- a/.cshrc +++ b/.cshrc @@ -1,27 +1,26 @@ -alias mail Mail -set history=40 +set history=1000 +set path=(/sbin /usr/sbin /bin /usr/bin /usr/contrib/bin /usr/old/bin) + # directory stuff: cdpath/cd/back -set cdpath=(/a/wnj) -alias cd 'set old=$cwd; chdir \!*' -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 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 z suspend -alias area 'grep \!* /usr/games/lib/quiz.k/areas' -alias tel 'grep -i \!* /usr/bill/bin/telno' +set cdpath=(/sys /usr/src/{bin,sbin,usr.{bin,sbin},lib,libexec,share,contrib,local,games,old}) +alias h history -r +alias hup 'kill -HUP `cat /var/run/\!$.pid`' +alias j jobs -l +alias k jobs -l +alias ll ls -l alias x exit +alias z suspend + +alias back 'set back=$old; set old=$cwd; cd $back; unset back; dirs' +alias cd 'set old=$cwd; chdir \!*' 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 tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars' + if ($?prompt) then - set prompt="`hostname | sed s/ucb//`# " + set prompt="`hostname -s`# " endif + +umask 022