diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-11-26 18:28:28 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-11-26 18:28:28 +1300 |
commit | 55a839a0a8c3c18e6476cdb6b9b640dc16a6a98b (patch) | |
tree | 3ff0a5a66f14ee480144177c4b161ba22c4853cb /bash/bashrc.d/man.bash | |
parent | This apostrophe breaks the subshell on Bash 4.1 (diff) | |
download | dotfiles-55a839a0a8c3c18e6476cdb6b9b640dc16a6a98b.tar.gz dotfiles-55a839a0a8c3c18e6476cdb6b9b640dc16a6a98b.zip |
Ignore stderr from manpath(1)
Diffstat (limited to 'bash/bashrc.d/man.bash')
-rw-r--r-- | bash/bashrc.d/man.bash | 2 |
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 |