aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-25 20:42:07 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-25 20:42:07 +1300
commit429efddf5614a59d6609a6675c093ddf3e8cd276 (patch)
treed0e5a2e05df721757d035e58a9b42d1fbf95ca88 /bash/bash_completion.d
parentDon't save history for ed(1) rlwrap (diff)
downloaddotfiles-429efddf5614a59d6609a6675c093ddf3e8cd276.tar.gz
dotfiles-429efddf5614a59d6609a6675c093ddf3e8cd276.zip
Ignore stderr from manpath(1) check
Diffstat (limited to 'bash/bash_completion.d')
-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 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