These files are always sourced (never executed directly), so the #!/bin/bash shebang is inert and misleading. Drop it consistently across rc.d/*, profile.d/*, and aliases.d/*.
19 lines
343 B
Plaintext
19 lines
343 B
Plaintext
# Vim Editor
|
|
if (command -v nvim &> /dev/null)
|
|
then
|
|
alias vim=nvim
|
|
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 ]
|
|
# then
|
|
# alias vi='vim -p'
|
|
# alias view='vim -R'
|
|
# alias vless='vim -u /usr/share/vim/vim*/macros/less.vim'
|
|
# fi
|