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:
parent
c072544efb
commit
9df027d4a6
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue