pushd not found on linux
See original GitHub issueAny reason why not alias pushd
to cd
and popd
to cd -
? They seem to have the same behavior and cd -
works great on linux (ubuntu at least).
Note: I did see the readme table and the other issue.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Fixing the “/bin/sh: pushd: Not Found” Error in Linux - Baeldung
pushd is a Bash-specific command which is not present in other shells like ash or dash. So, in these non-Bash shells, we get...
Read more >linux - /bin/sh: pushd: not found - Stack Overflow
pushd is a bash enhancement to the POSIX-specified Bourne Shell. pushd cannot be easily implemented as a command, because the current working directory...
Read more >Why doesn't pushd popd work in my Ubuntu shell script?
I'm in the process of moving over to my new laptop. I run into an issue where a shell script (that worked under...
Read more >-ksh: pushd: not found - Unix & Linux Stack Exchange
1 Answer 1 · Paths containing shell functions you might want to use on a regular basis like this can be added to...
Read more >Linux – /bin/sh: pushd: not found - iTecNote
pushd cannot be easily implemented as a command, because the current working directory is a feature of a process that cannot be changed...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing this because I don’t think shx needs to make any changes here, but feel free to keep discussing.
Yeahh I tried
cmd
andbash
as shell in my github actions, but it still continued to use/bin/sh
. Anyway, it’s probably an issue related to github actions itself. For anyone wondering, I’ve used yarn to change shells (yarn config set script-shell /bin/bash
) and everything is fine now.