A proper way to exit from the pipenv shell
is by exit
command.
But I am used to deactivate
through all these years.
And whenever I accidentally use deactivate
I have to close my terminal window and reopen it again.
Is there a way to fix this somehow?
Maybe some way to recover from the wrong command?
Or disallow deactivate
?
I believe you can still exit
after accidentally using deactivate
, can you not? I do like the idea of overwriting deactivate
to say something like “Hey, you might want to use exit
instead”, like what Python does when you enter exit
without the parentheses.
no
@uranusjr thanks for your advice! That's a good workaround.
@kennethreitz what's your vision of this problem? Should users just get used to it?
@sobolevn basically yes :)
Most helpful comment
I believe you can still
exit
after accidentally usingdeactivate
, can you not? I do like the idea of overwritingdeactivate
to say something like “Hey, you might want to useexit
instead”, like what Python does when you enterexit
without the parentheses.