On Sat, 10 Mar 2001, James, Rick wrote:
> 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?
>
if [ -n "$DISPLAY" ]; then
alias vi='gvim '
alias view='gvim -R '
fi
I'd really prefer that vim == gvim as it mostly gets it right
automatically. BTW any chance to get gvim with OpenMotif/LessTIF?
-andrej