diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-26 21:54:30 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-26 21:54:30 +1300 |
commit | 1c1e11385af1651eadb61a695d6d3fcc061ee91b (patch) | |
tree | 396a74095fb90bb2e53ac5ba2444a4d0aa76ac49 /bash/bash_completion.d/bd.bash | |
parent | Fix long lines in manual pages (diff) | |
download | dotfiles-1c1e11385af1651eadb61a695d6d3fcc061ee91b.tar.gz dotfiles-1c1e11385af1651eadb61a695d6d3fcc061ee91b.zip |
Break up some long lines
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[@]}") |