aboutsummaryrefslogtreecommitdiffstats
path: root/ves-prompt.sh
diff options
context:
space:
mode:
authorDouglas Rumbaugh <doug@douglasrumbaugh.com>2022-09-12 22:40:03 -0400
committerDouglas Rumbaugh <doug@douglasrumbaugh.com>2022-09-12 22:40:03 -0400
commit04b385284a8559bde3df51bab950784a0fd28cfd (patch)
treec0218597c8239f05de2ab94f3a25b9ca86a57f36 /ves-prompt.sh
parent7ae2929b5f0660cd07d2127c66d508ac62ad1aa7 (diff)
downloadsh-ves-04b385284a8559bde3df51bab950784a0fd28cfd.tar.gz
Updates/adjustments
Diffstat (limited to 'ves-prompt.sh')
-rw-r--r--ves-prompt.sh8
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