Merge pull request #2287 from skurfer/shell-history

Cleaner shell history
This commit is contained in:
Dan Ryan
2018-06-11 17:35:47 -04:00
committed by GitHub
+1 -1
View File
@@ -1159,7 +1159,7 @@ def activate_virtualenv(source=True):
"""Returns the string to activate a virtualenv."""
# Suffix and source command for other shells.
suffix = ''
command = '.' if source else ''
command = ' .' if source else ''
# Support for fish shell.
if PIPENV_SHELL and 'fish' in PIPENV_SHELL:
suffix = '.fish'