diff --git a/profile b/profile index 331148e..4e35e6e 100644 --- a/profile +++ b/profile @@ -1,6 +1,6 @@ # vim: set noexpandtab filetype=sh :miv # -if which nvim +if which nvim > /dev/null then export EDITOR=nvim else export EDITOR=vim fi