diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-01 02:33:33 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-01 02:33:52 +1300 |
commit | 18d31e8c13cf8ae97a16bfcf949dbae5391a47f2 (patch) | |
tree | 6519b064be49bf6a47ed139a8bdd344ca72afbdc /bash/bash_completion.d/man.bash | |
parent | Remove unneeded local array declaration (diff) | |
download | dotfiles-18d31e8c13cf8ae97a16bfcf949dbae5391a47f2.tar.gz dotfiles-18d31e8c13cf8ae97a16bfcf949dbae5391a47f2.zip |
Break up a couple of long lines
Diffstat (limited to 'bash/bash_completion.d/man.bash')
-rw-r--r-- | bash/bash_completion.d/man.bash | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bash/bash_completion.d/man.bash b/bash/bash_completion.d/man.bash index e4175837..ffef48ec 100644 --- a/bash/bash_completion.d/man.bash +++ b/bash/bash_completion.d/man.bash @@ -58,7 +58,9 @@ _man() { for manpath in "${manpaths[@]}" ; do [[ -n $manpath ]] || continue if [[ -n $section ]] ; then - for page in "$manpath"/"$subdir"/"$word"*."$section"?(.[glx]z|.bz2|.lzma|.Z) ; do + for page in \ + "$manpath"/"$subdir"/"$word"*."$section"?(.[glx]z|.bz2|.lzma|.Z) + do pages[${#pages[@]}]=$page done else |