Merge remote-tracking branch 'ritchie/main'

This commit is contained in:
Anthony Rose 2024-03-03 18:21:23 +00:00
commit d56a823ef9

View file

@ -233,6 +233,14 @@ else
fi
export EDITOR
# Use nvim if installed.
if command -v nvim > /dev/null
then
export EDITOR="nvim -f"
alias vi=nvim
alias vim=nvim
fi
# Use root's cache instead of having one for root and one for the user.
if [ "$(id -u)" -ne 0 ] && [ -x /usr/bin/dnf ]
then