diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-25 20:42:07 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-25 20:42:07 +1300 |
commit | 429efddf5614a59d6609a6675c093ddf3e8cd276 (patch) | |
tree | d0e5a2e05df721757d035e58a9b42d1fbf95ca88 | |
parent | Don't save history for ed(1) rlwrap (diff) | |
download | dotfiles-429efddf5614a59d6609a6675c093ddf3e8cd276.tar.gz dotfiles-429efddf5614a59d6609a6675c093ddf3e8cd276.zip |
Ignore stderr from manpath(1) check
-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 efc93153..f779d203 100644 --- a/bash/bash_completion.d/man.bash +++ b/bash/bash_completion.d/man.bash @@ -2,7 +2,7 @@ _man() { # Don't even bother if we don't have manpath(1) - hash manpath || return 1 + hash manpath 2>/dev/null || return 1 # Snarf the word local word |