aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/visual.sh
blob: d03da25515e0c1bf6f45ea4f84d460ec7e6da24a (plain) (blame)
1
2
3
4
5
6
7
# Set visual editor; vim if we've got it, but vi will do fine
if command -v vim >/dev/null 2>&1 ; then
    VISUAL=vim
else
    VISUAL=vi
fi
export VISUAL