diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-02 21:53:16 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-02 21:53:16 +1300 |
commit | 2f5ccdcd1320ed01b212b0a862190cd0a0604422 (patch) | |
tree | a633aeca0038692331ee759f7c736a407941bd72 /bash | |
parent | Adjust quoting and termination for man completion (diff) | |
download | dotfiles-2f5ccdcd1320ed01b212b0a862190cd0a0604422.tar.gz dotfiles-2f5ccdcd1320ed01b212b0a862190cd0a0604422.zip |
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.
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bash_completion.d/man.bash | 2 |
1 files changed, 1 insertions, 1 deletions
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 \ |