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

Re: directory aliases



Hi Sergio,

2011/7/30 sergio <mailbox@xxxxxxxxxxxxx>:
> ~ expansion requires '~' prefix for directory
> It's good for unambiguousness. But I think about user home when I see
> ~somethig. May be some prefix (for example dot or hyphen) will help to
> distinguish such aliases from users homes.
>
> hash -d .projects=/full_long_path/projects
> works, but how to make this with hyphen (-) ?

hash -d -- -projects=/full_long_path/projects

Best regards,

-- 
Jérémie



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