nvim will be installed into /usr/local/bin in FreeBSD system.

This commit is contained in:
Gea-Suan Lin
2020-06-01 04:54:18 +08:00
parent 72f9da54c0
commit ef87c0e4a8
2 changed files with 2 additions and 2 deletions

2
.zshrc
View File

@@ -118,7 +118,7 @@ else
alias "ls=/bin/ls -aF"
fi
#
if [[ -x /usr/bin/nvim ]]; then
if [[ -x /usr/bin/nvim || -x /usr/local/bin/nvim ]]; then
alias "vim=nvim"
export EDITOR="nvim"
else