[arch-projects] grab, drop and clone

Dusty Phillips buchuki at gmail.com
Thu Mar 17 14:31:18 EST 2005


> I don't know of anything in zsh exactly like this, but you can just use
> the ~<number> syntax to refer to directories in the directory stack
> (I've a feeling this is standard ksh syntax too, so should work in bash
> too).
> 
> i.e. 'cp ~1/foo .' copies foo from the directory on the top of the stack
> to the current directory.
> 

It works in bash, I just tried it. This is wonderful. Thanks for this hint!

Dusty




More information about the arch-projects mailing list