shrc: replace vi with nvi

This commit is contained in:
Lucas 2020-08-23 14:27:26 +00:00
parent 0f6b0e5133
commit 1839a100f6

View File

@ -26,6 +26,10 @@ alias ll="ls -lF"
alias mv="mv -i" alias mv="mv -i"
alias p="$PAGER" alias p="$PAGER"
if command -v nvi >/dev/null 2>&1; then
alias vi=nvi
fi
if [ -d ~/local/man ]; then if [ -d ~/local/man ]; then
alias man="/usr/bin/man -m ~/local/man" alias man="/usr/bin/man -m ~/local/man"
fi fi