aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-03 07:25:08 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-03 07:25:08 +1200
commitd0ec58b151ecd21a5bfb0c5c5a28fd6472166e0a (patch)
tree19d9154e69b6e91df950c130593192c0c066690e /bash/bash_completion.d
parentkvlt(6)/zs(6) get shebangs from shb(1) at build (diff)
downloaddotfiles-d0ec58b151ecd21a5bfb0c5c5a28fd6472166e0a.tar.gz
dotfiles-d0ec58b151ecd21a5bfb0c5c5a28fd6472166e0a.zip
Remove error in expansion quoting
Diffstat (limited to 'bash/bash_completion.d')
-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