From d0ec58b151ecd21a5bfb0c5c5a28fd6472166e0a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 3 Aug 2016 07:25:08 +1200 Subject: Remove error in expansion quoting --- bash/bash_completion.d/bd.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash/bash_completion.d') 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 -- cgit v1.2.3