#-*-shell-script-*- set hosts=(dante.u.washington.edu scratchy.phys.washington.edu) set noglob complete ssh n/*/\$hosts/ # argument from list in $hosts complete scp n/*/\$hosts/ # argument from list in $hosts complete sftp n/*/\$hosts/ # argument from list in $hosts complete cd p/1/d/ # Directories only complete mkdir p/1/d/ complete rmdir p/1/d/ complete unalias p/1/a/ complete xdvi n/*/f:*.dvi/ # Only files that match *.dvi complete dvi2ps n/*/f:*.dvi/ complete latex n/*/f:*.tex/ complete tex n/*/f:*.tex/ complete ghostview n/*/f:*.*ps*/ complete gunzip n/*/f:*.*gz/ complete gzcat n/*/f:*.*gz/ complete kill c/-/S/ c/%/j/ complete %* c/%/j/ # fill in the jobs builtin complete fg c/%/j/ complete bg c/%/j/ complete stop c/%/j/ unset noglob