aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/man.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/man.bash b/bash/bashrc.d/man.bash
index 201ebe64..e091e60e 100644
--- a/bash/bashrc.d/man.bash
+++ b/bash/bashrc.d/man.bash
@@ -39,7 +39,7 @@ _man() {
declare -a pages
# Break manpath(1) output into an array of paths
- IFS=: read -a manpaths -r < <(manpath)
+ IFS=: read -a manpaths -r < <(manpath 2>/dev/null)
# Iterate through the manual page paths and add every manual page we find
for manpath in "${manpaths[@]}" ; do