Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Compctl fixes & a query
- X-seq: zsh-workers 225
- From: Vinnie Shelton <shelton@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
- Subject: Re: Compctl fixes & a query
- Date: Mon, 17 Jul 1995 14:17:54 -0400
- Cc: zsh-workers@xxxxxxxxxxxxxxx (Z Shell workers mailing list)
- In-reply-to: A.Main's message of Mon, 17 Jul 1995 18:17:51 +0100. <27816.199507171717@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: acs@xxxxxxxxxxxxx
In message <27816.199507171717@xxxxxxxxxxxxxxxxxxxxxxx>, Zefram wrote:
>I think that, in the interests of consistency and name space
>preservation, it would be a good idea to use ~+n rather than ~n, as
>this reduces the number of characters that are treated specially. ~+n
>and ~-n can then be interpreted however pushd interprets +n and -n,
>depending on whether PUSHD_MINUS is set or not. What do people think
>of this?
I think that =1 is easy to type (no shift key). I think that ~1 is a little more annoying (1 shift). But I think that ~+1 is too cumbersome, IMHO.
Consider this:
=n is an absolute directory reference which corresponds directly to the directory stack, ie:
src/gnu Mon 17 13:59 % dirs -v
0 /pd/src/gnu
1 ~csim
2 ~
src/gnu Mon 17 13:59 % echo =1
/vobs/devel/shared/hsd100/sim
~+1 and ~-1 would refer to relative entries on the directory stack. I prefer the absolute naming scheme, personally.
--Vin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author