aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/bd.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/bd.bash')
-rw-r--r--bash/bashrc.d/bd.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/bd.bash b/bash/bashrc.d/bd.bash
index bc474901..20274f56 100644
--- a/bash/bashrc.d/bd.bash
+++ b/bash/bashrc.d/bd.bash
@@ -12,7 +12,7 @@ bd() {
;;
-*)
shift
- opts=("${opts[@]}" "$arg")
+ opts[${#opts[@]}]=$arg
;;
*)
break