Hello Cookers,

  Please forgive me if this is a newbie question but I know I'll get
the right answer here.  I want to add a few lines to .bashrc that go
something like this:

if [ current display=X11 ]; then
    alias vi='gvim'
fi

What's the correct syntax for inside the brackets?

Cheers,
Rick


"If it ain't broke, don't fix it"
   -- My Daddy

Reply via email to