summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Misc/zrecompile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Misc/zrecompile b/Functions/Misc/zrecompile
index 8fe990086..d9fc55020 100644
--- a/Functions/Misc/zrecompile
+++ b/Functions/Misc/zrecompile
@@ -52,7 +52,7 @@ while getopts ":tqp" opt; do
     fi
   esac
 done
-shift OPTIND-${#tmp:-1}
+shift OPTIND-${#tmp}-1
 
 if [[ -n $check ]]; then
   ret=1