You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike bash, zsh and other shells an argumentless pushd adds my home directory to the stack. Thats really irritating for people like me who have been using bash-like shells for 20+ years. Any chance this could be fixed to work like bash?
I'm not a pushd user so I don't know what behavior you expect, but I'll be happy to merge a pull request. The functions are in share/functions/pushd.fish and share/functions/popd.fish
I have a script which does more or less the right thing. It doesn't handle pushd -2 yet (although I never use that myself). I'll issue a pull request at some point soon.
Activity
ridiculousfish commentedon Feb 11, 2015
I'm not a pushd user so I don't know what behavior you expect, but I'll be happy to merge a pull request. The functions are in
share/functions/pushd.fishandshare/functions/popd.fishzanchey commentedon Feb 13, 2015
OK, so the desired behaviour is something like
(bash)
whereas fish currently does this:
newhook commentedon Feb 13, 2015
I have a script which does more or less the right thing. It doesn't handle pushd -2 yet (although I never use that myself). I'll issue a pull request at some point soon.
eush77 commentedon Jun 22, 2015
Is there any progress on this issue?
zanchey commentedon Jul 31, 2015
This got added in #2173, although nobody has written the documentation yet.