Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: directory aliases
- X-seq: zsh-users 16171
- From: Jérémie Roquet <arkanosis@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: directory aliases
- Date: Sat, 30 Jul 2011 19:53:17 +0200
- Cc: sergio <mailbox@xxxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=krwWoYVMvZerrPsAJJQlYREtBKcAXyXSK6JGDKM/GEQ=; b=LjGSbhgHT/MTadOuTL/InAciZ6yDBdJ6AeG0J+9oW27TdZNuQYysV6iq7s7vDMAQej m/A+zoz1VdZnV/wMpEQ93PFJIT1iaUw/IvF7dRFzmmoXU5pwS80Vp+djVemgWN6qfwZp cvZ2pKRTtWk2qbi1/xVMz3yMIgeHC0RGmCNqs=
- In-reply-to: <4E343316.9080009@sergio.spb.ru>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <4E343316.9080009@sergio.spb.ru>
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