#!/bin/bash if test $DISPLAY; then /usr/bin/gvim "$@" else /usr/bin/vim "$@" fi