aboutsummaryrefslogtreecommitdiff
path: root/bin/vic.sh
blob: c1967ef17344c9f2f73c4a5214fe667955ccacb6 (plain) (blame)
1
2
3
4
5
6
# If the system vi is Vim, start it with -C for 'compatible'
ver=$(vim --version 2>/dev/null | awk '{print $1;exit}')
case $ver in
    (VIM) vim -C "$@" ;;
    (*) vi "$@" ;;
esac