Install Vim to /bin?

Robert Connolly robert at linuxfromscratch.org
Wed Mar 28 00:13:39 PDT 2007


Strange that it works for me. I changed the book to use isdirectory.

robert

On Wednesday March 28 2007 02:59, Jan Dvořák wrote:
> Robert Connolly wrote:
> > Someone emailed me the fix for vimrc:
> >
> > if ("/usr/share/vim")
> >  if has('syntax')
> >   syntax on
> >  endif
> > endif
>
> This snippet does not work for me.
>
> if (isdirectory("/usr/share/vim"))
>    if has('syntax')
>      syntax on
>    endif
> endif
>
> That does.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20070328/cfab9c70/attachment.sig>


More information about the hlfs-dev mailing list