aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cdlog.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/cdlog.sh b/cdlog.sh
index 47566c7..0f0471c 100644
--- a/cdlog.sh
+++ b/cdlog.sh
@@ -67,6 +67,7 @@ cdlog.rot()
( [1-9] )
if [ $first ] ; then
command cd "${d[$n]}" || return
+ printf "%s\n" "$PWD"
else
d[$p]=${d[$n]}
fi
@@ -98,6 +99,8 @@ cdlog.pop()
c9=
cdlog.nicks
+
+ printf "%s\n" "$PWD"
fi
}