diff options
| -rw-r--r-- | bin/dirhistory.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/dirhistory.sh b/bin/dirhistory.sh index cc652d2..d449539 100644 --- a/bin/dirhistory.sh +++ b/bin/dirhistory.sh @@ -1,2 +1,4 @@ #!/bin/zsh -for ((i=1; i<=$DIRSTACKSIZE; i++)) echo "$i $dirstack[$i]" + +echo "Printing directory stack: " +for ((i=1; i<=$DIRSTACKSIZE-1; i++)), do echo "$i $dirstack[$i]"; done |
