diff options
| author | Douglas Rumbaugh <doug@douglasrumbaugh.com> | 2022-09-12 22:40:03 -0400 |
|---|---|---|
| committer | Douglas Rumbaugh <doug@douglasrumbaugh.com> | 2022-09-12 22:40:03 -0400 |
| commit | 04b385284a8559bde3df51bab950784a0fd28cfd (patch) | |
| tree | c0218597c8239f05de2ab94f3a25b9ca86a57f36 /ves-prompt.sh | |
| parent | 7ae2929b5f0660cd07d2127c66d508ac62ad1aa7 (diff) | |
| download | sh-ves-04b385284a8559bde3df51bab950784a0fd28cfd.tar.gz | |
Updates/adjustments
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 |