diff options
Diffstat (limited to 'ves-prompt.sh')
| -rw-r--r-- | ves-prompt.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ves-prompt.sh b/ves-prompt.sh index edc7133..1d79373 100644 --- a/ves-prompt.sh +++ b/ves-prompt.sh @@ -1,11 +1,11 @@ #!/bin/sh if [ $# -lt 1 ]; then - SYM="VENV" + sym="VENV" else - SYM="$1" + sym="$1" fi -if [ ! -z $VES_ENV_NM ]; then - printf "(%s %s)" $SYM $VES_ENV_NM +if [ ! -z "$SHVES_ENV_NM" ]; then + printf "(%s %s)" "$sym" "$VES_ENV_NM" fi |