support more shells (fish / csh / bash / powershell)
See original GitHub issueI’m using fish and looks pipenv works fine without shell command:
❰/private/tmp/asd❱✔≻ pipenv shell
Spawning virtualenv shell (/usr/local/bin/fish).
Unsupported use of '||'. In fish, please use 'COMMAND; or COMMAND'.
/private/tmp/asd/.venv/bin/activate (line 23): if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ] ; then
^
from sourcing file /private/tmp/asd/.venv/bin/activate
called on line 194 of file /usr/local/Cellar/fish/2.4.0/share/fish/config.fish
in function '.'
called on standard input
source: Error while reading file '/private/tmp/asd/.venv/bin/activate'
Seems it is trying to active the virtualenv with bin/active, but virtualenv also support fish via bin/active.fish, i think we can source it while detected current shell is fish.
And also, i think pipenv dose not support csh / cmd.exe now…
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (10 by maintainers)
Top Results From Across the Web
Fish Shell vs PowerShell | What are the differences?
It is a useful utility filled shell which makes command line operations quicker with customized functions, easy to append path variable command, command...
Read more >Comparison of command shells - Wikipedia
A command shell is a command-line interface to interact with and manipulate a computer's operating system. Bash, the default shell on many GNU/Linux...
Read more >I think that these 'improved shell' projects (incl. crush and ...
I think that bourne shell, bash, fish, zsh, and csh are all able to interact with the unix system in a way that...
Read more >Fish vs. Zsh vs. Bash and Why You Should Switch to Fish
Bash is the most common Linux shell out there. If you open up a terminal on Mac (until macOS Mojave), or if you've...
Read more >Why can't Windows OS run bash or fish shell without ... - Reddit
I am asking this question to learn more about how OS/ computers work. This is not a windows/tech support question. Powershell is just...
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

going to drop windows support for now.
@uranusjr It is possible to detect the difference between Powershell and Command Prompt, for example using the psutil module:
However as you mentioned,
pexpect.spawnis not supported on Windows, and there are no plans for it ever to be.