mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
Merge pull request #541 from ScumbagScalawag/themes/zork/virtual-env-resolve
themes/{zork,mairan}: Resolve VIRTUAL_ENV with double-quotes
This commit is contained in:
@@ -110,7 +110,7 @@ function _omb_theme_PROMPT_COMMAND {
|
||||
|
||||
if [ -n "$VIRTUAL_ENV" ]
|
||||
then
|
||||
ve=`basename $VIRTUAL_ENV`;
|
||||
ve=`basename "$VIRTUAL_ENV"`;
|
||||
fi
|
||||
|
||||
# nice prompt
|
||||
|
@@ -77,7 +77,7 @@ function _omb_theme_PROMPT_COMMAND {
|
||||
|
||||
if [ -n "$VIRTUAL_ENV" ]
|
||||
then
|
||||
ve=`basename $VIRTUAL_ENV`;
|
||||
ve=`basename "$VIRTUAL_ENV"`;
|
||||
fi
|
||||
|
||||
# nice prompt
|
||||
|
Reference in New Issue
Block a user