shrc: check existence of /usr/bin/man before using it
This commit is contained in:
parent
d2e60b08ce
commit
64b3fd9ca2
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ if command -v nvi >/dev/null; then
|
|||
alias vi=nvi
|
||||
fi
|
||||
|
||||
if [ -d ~/local/man ]; then
|
||||
if [ -d ~/local/man ] && [ -x /usr/bin/man ]; then
|
||||
alias man="/usr/bin/man -m ~/local/man"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue