feat(aliases): désactivation de l'alias vim pointant vers lvim

This commit is contained in:
Xavier Logerais 2023-11-02 15:14:12 +01:00
parent 2fe787a370
commit a50a9359ad

View File

@ -1,13 +1,17 @@
#!/bin/bash #!/bin/bash
# Vim Editor # Vim Editor
if (command -v lvim &> /dev/null) if (command -v nvim &> /dev/null)
then
alias vim=lvim
elif (command -v nvim &> /dev/null)
then then
alias vim=nvim alias vim=nvim
fi fi
# if (command -v lvim &>/dev/null); then
# alias vim=lvim
# elif (command -v nvim &>/dev/null); then
# alias vim=nvim
# fi
# if [ -x /usr/bin/vim ] # if [ -x /usr/bin/vim ]
# then # then
# alias vi='vim -p' # alias vi='vim -p'