mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #2287 from skurfer/shell-history
Cleaner shell history
This commit is contained in:
+1
-1
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user