From 09c97f22ecbcbdf152308c60c79e0f9fea5e63e3 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Sun, 27 Apr 2014 18:37:48 +0200 Subject: Fixed typo --- bin/dirhistory.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) mode change 100644 => 100755 bin/dirhistory.sh diff --git a/bin/dirhistory.sh b/bin/dirhistory.sh old mode 100644 new mode 100755 index d449539..06e82c2 --- 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 -- cgit v1.2.3