aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bash_completion.d/bd.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bash_completion.d/bd.bash b/bash/bash_completion.d/bd.bash
index eff6cddb..7f4ae107 100644
--- a/bash/bash_completion.d/bd.bash
+++ b/bash/bash_completion.d/bd.bash
@@ -10,7 +10,7 @@ _bd() {
# Remove the last element in the array (the current directory)
((${#dirnames[@]})) || return 1
- dirnames=("${dirnames[@]:0:"$((${#dirnames[@]}-1))"}")
+ dirnames=("${dirnames[@]:0:$((${#dirnames[@]}-1))}")
# Add the matching dirnames to the reply
local dirname