d58b878498
cdpath. I think that adding /usr/local to the path is ok: everyone does it, and it is part of mtree.
27 lines
691 B
Plaintext
27 lines
691 B
Plaintext
alias mail Mail
|
|
set history=1000
|
|
set path=(/sbin /usr/sbin /usr/local/sbin /bin /usr/bin /usr/local/bin)
|
|
|
|
# directory stuff: cdpath/cd/back
|
|
set cdpath=(/sys /usr/src/{bin,sbin,usr.{bin,sbin},pgrm,lib,libexec,share,contrib,local,devel,games,old,gnu/{usr.bin,libexec,lib,games}})
|
|
|
|
setenv BLOCKSIZE 1k
|
|
|
|
alias cd 'set old=$cwd; chdir \!*'
|
|
alias h history
|
|
alias j jobs -l
|
|
alias ll ls -l
|
|
alias back 'set back=$old; set old=$cwd; cd $back; unset back; dirs'
|
|
|
|
alias z suspend
|
|
alias x exit
|
|
alias pd pushd
|
|
alias pd2 pushd +2
|
|
alias pd3 pushd +3
|
|
alias pd4 pushd +4
|
|
alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
|
|
|
|
if ($?prompt) then
|
|
set prompt="`hostname -s`# "
|
|
endif
|