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

View File

@@ -35,7 +35,7 @@ function db.warmup() {
pt-find --charset=utf8 --print -h $1 | xargs -t -P8 -I% -n1 sh -c "echo 'SELECT COUNT(*) FROM %;' | mysql -h $1 > /dev/null"
}
#
if [ -x /usr/bin/nvim ]; then
if [[ -x /usr/bin/nvim || -x /usr/local/bin/nvim ]]; then
alias vim="nvim"
export EDITOR="nvim"
else