diff options
| author | moehm | 2014-04-28 11:09:35 +0200 |
|---|---|---|
| committer | moehm | 2014-04-28 11:09:35 +0200 |
| commit | c8809f9a5764d24e120f7b64867e733cfaa25b07 (patch) | |
| tree | d26cd05d710d9e3b644cecefd68e0280468b0a5b /bin/dirhistory.sh | |
| parent | 9e83822613ff11520a5470f784ad07436dae4fae (diff) | |
| parent | 09c97f22ecbcbdf152308c60c79e0f9fea5e63e3 (diff) | |
| download | dotfiles-c8809f9a5764d24e120f7b64867e733cfaa25b07.tar.gz | |
merge conflict
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 |
