diff options
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc.d/man.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/man.bash b/bash/bashrc.d/man.bash index b88442d1..45cb02d0 100644 --- a/bash/bashrc.d/man.bash +++ b/bash/bashrc.d/man.bash @@ -37,7 +37,7 @@ _man() { for manpath in "${manpaths[@]}" ; do [[ $manpath ]] || continue if [[ $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 |