remembered directories; CSH directory shorthand

idallen at watmath.UUCP idallen at watmath.UUCP
Mon Mar 2 09:07:26 AEST 1987


% alias dset 'set argv=(`dirs`)'
% alias cd   'pushd \!* && dset'

% pwd
/some/big/long/pathname
% cd /some/other/big/long/pathname
/some/other/big/long/pathname /some/big/long/pathname
% cp $2/file ./foo

% cd /yet/another/big/long/pathname
/yet/another/big/long/pathname /some/other/big/long/pathname /some/big/long/pathname
% diff $2/bark $3/bite >diffs
-- 
        -IAN!  (Ian! D. Allen)      University of Waterloo



More information about the Comp.unix.wizards mailing list