diff options
| author | Horus3 | 2014-04-27 18:37:48 +0200 |
|---|---|---|
| committer | Horus3 | 2014-04-27 18:37:48 +0200 |
| commit | 09c97f22ecbcbdf152308c60c79e0f9fea5e63e3 (patch) | |
| tree | 19a985a5ddf6c2506e4c8c2836a715aa252b27c0 /bin/dirhistory.sh | |
| parent | abc2cb5d9ccad98c563968519c89b19f3640fc4a (diff) | |
| download | dotfiles-09c97f22ecbcbdf152308c60c79e0f9fea5e63e3.tar.gz | |
Fixed typo
Diffstat (limited to 'bin/dirhistory.sh')
| -rwxr-xr-x[-rw-r--r--] | bin/dirhistory.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/dirhistory.sh b/bin/dirhistory.sh index d449539..06e82c2 100644..100755 --- a/bin/dirhistory.sh +++ b/bin/dirhistory.sh @@ -1,4 +1,7 @@ #!/bin/zsh echo "Printing directory stack: " -for ((i=1; i<=$DIRSTACKSIZE-1; i++)), do echo "$i $dirstack[$i]"; done +for ((i=1; i<$DIRSTACKSIZE; i++)) +do + echo "$i $dirstack[$i]" +done |
