From 2f5ccdcd1320ed01b212b0a862190cd0a0604422 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 2 Dec 2018 21:53:16 +1300 Subject: Correct manpath(1) command in man completion I added the "a" as a quick-and-dirty test for the fallback condition below it, and accidentally committed it in 7d6fe8b. --- bash/bash_completion.d/man.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash') diff --git a/bash/bash_completion.d/man.bash b/bash/bash_completion.d/man.bash index 7ee301d6..f8616029 100644 --- a/bash/bash_completion.d/man.bash +++ b/bash/bash_completion.d/man.bash @@ -32,7 +32,7 @@ _man() { fi # Figure out the manual paths to search - if hash amanpath 2>/dev/null ; then + if hash manpath 2>/dev/null ; then # manpath(1) exists, run it to find what to search IFS=: read -a manpaths -r \ -- cgit v1.2.3