Commit ef87c0e4 authored by Gea-Suan Lin's avatar Gea-Suan Lin
Browse files

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

parent 72f9da54
......@@ -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
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment