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