1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-12-03 17:59:54 +00:00

Update dot_envvar.tmpl

This commit is contained in:
Thomas A. Christensen II 2023-03-02 12:07:00 -06:00
parent c072544efb
commit 9df027d4a6
Signed by: millironx
GPG key ID: 09335146883990B9

View file

@ -4,12 +4,14 @@ if [ $(command -v pipx) ]; then
fi
# Preferred editor for local and remote sessions
if [ $(command -v nano) ]; then
if [ $(command -v nvim) ]; then
export EDITOR=nvim
elif [ $(command -v nano) ]; then
export EDITOR=nano
elif [ $(command -v emacs) ]; then
export EDITOR='emacs -nw'
elif [ $(command -v vim) ]; then
export EDITOR=vim
elif [ $(command -v emacs) ]; then
export EDITOR='emacs -nw'
fi
if [ $(command -v kate) ]; then