Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 'pushd +2' rotates rather than extracts
- X-seq: zsh-workers 20067
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: 'pushd +2' rotates rather than extracts
- Date: Wed, 16 Jun 2004 22:13:13 -0700 (PDT)
- In-reply-to: <pdy98830611043cbcf66d1c36de@[192.168.1.2]>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Reply-to: zsh-workers@xxxxxxxxxx
- Sender: schaefer@xxxxxxxxxxxxxxxxxx
According to the documentation (man zshbuiltins):
The third form of pushd changes directory by rotating the
directory list.
And then in Functions/Example/pushd, which unfortunately is not referenced
in the User Contributions section of the manual, one finds:
# pushd function to emulate the old zsh behaviour. With this function
# pushd +/-n just lifts the selected element to the top of the stack
# instead of just cycling the stack.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author