diff options
author | Matthew Iversen <teh.ivo@gmail.com> | 2015-09-21 17:03:59 +1000 |
---|---|---|
committer | Matthew Iversen <teh.ivo@gmail.com> | 2015-09-21 17:03:59 +1000 |
commit | 7905ddecf91ba91633a18b9652284c03f9417d65 (patch) | |
tree | fdc9a4e2367fcdebe598b8fe40295568ca3c6f05 | |
parent | cbce44d0503a978dc2849d7476066d02c4b1fc1a (diff) | |
download | virtualenv-7905ddecf91ba91633a18b9652284c03f9417d65.tar.gz |
Add a space after env name in prompt
-rw-r--r-- | virtualenv_embedded/activate.fish | 2 | ||||
-rw-r--r-- | virtualenv_embedded/activate.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/virtualenv_embedded/activate.fish b/virtualenv_embedded/activate.fish index 1766fba..f8610b9 100644 --- a/virtualenv_embedded/activate.fish +++ b/virtualenv_embedded/activate.fish @@ -59,7 +59,7 @@ if test -z "$VIRTUAL_ENV_DISABLE_PROMPT" if test -n "__VIRTUAL_PROMPT__" printf '%s%s' "__VIRTUAL_PROMPT__" (set_color normal) else - printf '%s(%s%s)%s' (set_color normal) (set_color -b black -o white) (basename "$VIRTUAL_ENV") (set_color normal) + printf '%s(%s%s)%s ' (set_color normal) (set_color -b black -o white) (basename "$VIRTUAL_ENV") (set_color normal) end # Restore the original $status diff --git a/virtualenv_embedded/activate.sh b/virtualenv_embedded/activate.sh index ded4b0e..f150896 100644 --- a/virtualenv_embedded/activate.sh +++ b/virtualenv_embedded/activate.sh @@ -57,7 +57,7 @@ if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then if [ "x__VIRTUAL_PROMPT__" != x ] ; then PS1="__VIRTUAL_PROMPT__$PS1" else - PS1="(`basename \"$VIRTUAL_ENV\"`)$PS1" + PS1="(`basename \"$VIRTUAL_ENV\"`) $PS1" fi export PS1 fi |