6646c7
if [ -n "${BASH_VERSION-}" -o -n "${KSH_VERSION-}" -o -n "${ZSH_VERSION-}" ]; then
6646c7
  [ "`/usr/bin/id -u 2>/dev/null || echo 0`" -le 200 ] && return
6646c7
  # for bash and zsh, only if no alias is already set
6646c7
  alias vi >/dev/null 2>&1 || alias vi=vim
6646c7
fi