aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cdlog.sh14
1 files changed, 6 insertions, 8 deletions
diff --git a/cdlog.sh b/cdlog.sh
index 911c606..75b1e01 100644
--- a/cdlog.sh
+++ b/cdlog.sh
@@ -1,15 +1,13 @@
# License at bottom.
# Initialize cdlog the first time.
+
+c1=${c1-}
+
if [ -z "$c1" ] ; then
- c9=
- c8=
- c7=
- c6=
- c5=
- c4=
- c3=
- c2=
+ c9=; c8=; c7=
+ c6=; c5=; c4=
+ c3=; c2=
fi
# One-letter nicknames for most recent four dirs.