Listing 1: .cshrc
# aliases for pushd
# create the number you want
alias pd pushd
alias pd2 pushd +2
alias pd3 pushd +3
alias pd4 pushd +4
alias pd5 pushd +5
alias pd6 pushd +6
alias pd7 pushd +7
alias pd8 pushd +8
alias pd9 pushd +9
alias pd10 pushd +10
alias pd11 pushd +11
alias pd12 pushd +12
alias pd13 pushd +13
alias pd14 pushd +14
alias pd15 pushd +15
alias pd16 pushd +16
alias pd17 pushd +17
alias pd18 pushd +18
alias pd19 pushd +19
alias ds dirs
# long listing of dirstack
alias dl 'source ~/.dirlist'
# save the dirstack
alias sd 'source ~/.savedirs'
# get the saved dirstack
alias gd 'source ~/.dirstack'
# set a variable to the current dir
alias dset 'set \!:1 = $cwd'
|