diff options
Diffstat (limited to 'bin/dirhistory.sh')
| -rwxr-xr-x[-rw-r--r--] | bin/dirhistory.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/dirhistory.sh b/bin/dirhistory.sh index cc652d2..06e82c2 100644..100755 --- a/bin/dirhistory.sh +++ b/bin/dirhistory.sh @@ -1,2 +1,7 @@ #!/bin/zsh -for ((i=1; i<=$DIRSTACKSIZE; i++)) echo "$i $dirstack[$i]" + +echo "Printing directory stack: " +for ((i=1; i<$DIRSTACKSIZE; i++)) +do + echo "$i $dirstack[$i]" +done |
