diff options
Diffstat (limited to 'bash/bash_completion.d/bd.bash')
-rw-r--r-- | bash/bash_completion.d/bd.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bash_completion.d/bd.bash b/bash/bash_completion.d/bd.bash index f6ca3a6b..8aa6f063 100644 --- a/bash/bash_completion.d/bd.bash +++ b/bash/bash_completion.d/bd.bash @@ -33,8 +33,8 @@ _bd() { # Continue if we have at least one non-root ancestor ((ai)) || return - # Add quoted ancestors to new array; for long paths, this is faster than - # forking a subshell for `printf %q` on each item + # Add quoted ancestors to new array; for long paths, this is faster + # than forking a subshell for `printf %q` on each item while read -d / -r ancestor ; do ancestors_quoted[aqi++]=$ancestor done < <(printf '%q/' "${ancestors[@]}") |