fix: Check if vim is installed, default to vi if none found
This commit is contained in:
parent
912bb440da
commit
e934ed2056
5
.profile
5
.profile
@ -46,9 +46,12 @@ if which nvim >/dev/null 2>&1; then
|
||||
export EDITOR=nvim
|
||||
export VISUAL=nvim
|
||||
export MANPAGER="nvim +Man!"
|
||||
else
|
||||
elif which vim >/dev/null 2>&1; then
|
||||
export EDITOR=vim
|
||||
export VISUAL=vim
|
||||
else
|
||||
export EDITOR=vi
|
||||
export VISUAL=less
|
||||
fi
|
||||
|
||||
### Terminal Specific Configuration ###
|
||||
|
Loading…
Reference in New Issue
Block a user