Fix EDITOR env variable
This commit is contained in:
parent
1ddd019c59
commit
1851c5ef03
2
main.zsh
2
main.zsh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user