smith@cos.com (Steve Smith) (06/16/88)
comp.sources.misc: Volume 3, Issue 54 Submitted-By: "Steve Smith" <smith@cos.com> Archive-Name: yacshppt [Re: the Organization: line above -- say who? --The "strain_home" alias has a small problem: what happens if user "smith" cd's to /u/smith2? I usually use a C version which I call "cpwd". ++bsa] alias strain_home 'sed "s?$home?~?"' alias cd 'cd \!*;set prompt="{`(pwd|strain_home)`} "' alias pushd 'pushd \!*;set prompt="{`(pwd|strain_home)`} "' alias popd 'popd \!*;set prompt="{`(pwd|strain_home)`} "' set prompt="{`pwd|strain_home`} " I don't need to see the path to my home directory. -- -- Steve (smith@cos.com) ({uunet sundc decuac hqda-ai hadron}!cos!smith) "Truth is stranger than fiction because fiction has to make sense."