diff --git a/zsh/.config/zsh/source/environnment.zsh b/zsh/.config/zsh/source/environnment.zsh index 26c0c1e..a2ea807 100644 --- a/zsh/.config/zsh/source/environnment.zsh +++ b/zsh/.config/zsh/source/environnment.zsh @@ -2,8 +2,18 @@ # environment variables # -export EDITOR="nvim" +# editor +if command -v nvim &> /dev/null; then + export EDITOR='nvim' +elif command -v vim &> /dev/null; then + export EDITOR='vim' +fi # locale export LANG='en_NZ.UTF-8' export LC_ALL='en_NZ.UTF-8' + +# more terminal futzing. yay. +export COLORTERM='24bit' + +# vim: ft=zsh expandtab tabstop=2 shiftwidth=2