aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d/man.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bash_completion.d/man.bash')
-rw-r--r--bash/bash_completion.d/man.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/bash_completion.d/man.bash b/bash/bash_completion.d/man.bash
index 7d25fdd2..efc93153 100644
--- a/bash/bash_completion.d/man.bash
+++ b/bash/bash_completion.d/man.bash
@@ -24,6 +24,7 @@ _man() {
# Read completion results from a subshell and add them to the COMPREPLY
# array individually
+ local page
while IFS= read -rd '' page ; do
[[ -n $page ]] || continue
COMPREPLY[${#COMPREPLY[@]}]=$page