Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: possibly useful zsh_directory_name implementation



2011/3/11 Mikael Magnusson <mikachu@xxxxxxxxx>:
> function zsh_directory_name () {
> …
> }
>
> With this, /home/mikachu/some/directory/somewhere% cd ~[/some], will
> take you to /home/mikachu/some/, and cd ~[.foo] will take you to foo/
> in whatever parent directory has a subdirectory foo, for example it
> could be /home/foo/.

Looks useful to me :-)

Thanks for sharing!

-- 
Jérémie



Messages sorted by: Reverse Date, Date, Thread, Author