Bob MillerTue Mar 15 08:39:57 PST 2005
Hal Pomeranz wrote:
> Does anybody have a solution for creating an alias or function that
> does the equivalent of "cd !$:h"? I feel like I must be missing
> something obvious...
function cdlast { cd `dirname $_`; }
--
Bob Miller K<bob>
kbobsoft software consulting
http://kbobsoft.com kbob at jogger-egg.com