aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-02 21:53:16 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-02 21:53:16 +1300
commit2f5ccdcd1320ed01b212b0a862190cd0a0604422 (patch)
treea633aeca0038692331ee759f7c736a407941bd72 /bash
parent0ec77f392127d87bc2dad567c60fbd31f276a161 (diff)
downloaddotfiles-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.bash2
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 \