mirror of
https://github.com/MillironX/dotfiles.git
synced 2024-12-04 18:19:54 +00:00
Update dot_envvar.tmpl
This commit is contained in:
parent
c072544efb
commit
9df027d4a6
1 changed files with 5 additions and 3 deletions
|
@ -4,12 +4,14 @@ if [ $(command -v pipx) ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Preferred editor for local and remote sessions
|
# 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
|
export EDITOR=nano
|
||||||
elif [ $(command -v emacs) ]; then
|
|
||||||
export EDITOR='emacs -nw'
|
|
||||||
elif [ $(command -v vim) ]; then
|
elif [ $(command -v vim) ]; then
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
|
elif [ $(command -v emacs) ]; then
|
||||||
|
export EDITOR='emacs -nw'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $(command -v kate) ]; then
|
if [ $(command -v kate) ]; then
|
||||||
|
|
Loading…
Reference in a new issue