Repository navigation
Alter pushd to add more bash-like behaviour - #2173
Closed
donkopotamus wants to merge 1 commit into
Closed
donkopotamus wants to merge 1 commit into
donkopotamus wants to merge 1 commit into
Conversation
The following behaviour is added: - an empty pushd exchanges the top two directories in the stack; - pushd +<n> rotates the stack so that the n-th directory (counting from the left of the list shown by dirs, starting with zero) is at the top; - pushd -<n> rotates the stack so that the nth directory (counting from the right of the list shown by dirs, starting with zero) is at the top.
Contributor
Author
|
This is related to #1944 |
Member
|
Fixed a typo, and merged as f07d59c. Thanks! |
Member
|
Reopening to remind us to add this to the documentation. |
faho
added a commit
to faho/fish-shell
that referenced
this pull request
Aug 10, 2015
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The following behaviour is added: