Browse Source

added EDITOR variable

Douglas A 4 years ago
parent
commit
3dbd47b8ee
1 changed files with 2 additions and 0 deletions
  1. 2 0
      bash/environment

+ 2 - 0
bash/environment

@@ -14,3 +14,5 @@ LC_IDENTIFICATION="en_US.UTF-8"; export LC_IDENTIFICATION
 LC_ALL=; export LC_ALL
 LC_ALL=; export LC_ALL
 
 
 # Terminal settings
 # Terminal settings
+test -e /usr/bin/nvim && EDITOR=nvim || EDITOR=nano
+export EDITOR