From 429efddf5614a59d6609a6675c093ddf3e8cd276 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 25 Dec 2016 20:42:07 +1300 Subject: Ignore stderr from manpath(1) check --- 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 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 -- cgit v1.2.3