pshell is a batch script for windows to give you a visual indication that pipenv is in a shell.
Instructions:
- Download the pshell.cmd file and put it anywhere you like.
- Then add the pshell.cmd folder location to your path (you may need to restart your computer after).
- When in your python project folder, run
pshell
and it will prepend your current prompt with(pipenv shell)
and run pipenv shell internally. - Use
exit
like normal to exit pipenv shell. Your prompt will change back to what it was before.
Here are some discussions about adding this natively to pipenv:
prun is a batch script for windows. It is just an alias for pipenv run
.
Instructions:
- Download the prun.cmd file and put it anywhere you like.
- Then add the prun.cmd folder location to your path (you may need to restart your computer after).
- When in your python project folder, run
prun foo
and it will runpipenv run foo
internally.