aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/cd.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/cd.bash')
-rw-r--r--bash/bashrc.d/cd.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/cd.bash b/bash/bashrc.d/cd.bash
index 282e1649..320d614b 100644
--- a/bash/bashrc.d/cd.bash
+++ b/bash/bashrc.d/cd.bash
@@ -3,7 +3,7 @@
__cd() {
local -a opts
while getopts elP opt; do
- opts[${#opts[@]}]="-$opt"
+ opts[${#opts[@]}]=-$opt
done
shift $(($OPTIND-1))
if (($# == 2)); then