Fix EDITOR env variable

This commit is contained in:
Mark Vainomaa 2017-01-27 22:01:16 +02:00
parent 1ddd019c59
commit 1851c5ef03

View File

@ -60,7 +60,7 @@ alias cp="cp -rv"
# Default editor
# cool people use neovim :>
export EDITOR=$(if [ ! -z "$(command -v nvim)" ]; then echo "nvim" else echo "vim"; fi)
export EDITOR=$(if [ ! -z "$(command -v nvim)" ]; then echo "nvim"; else echo "vim"; fi)
export VISUAL=${EDITOR}
# less options