Loading ...
Sorry, an error occurred while loading the content.

Re: cygwin, vim and paths

Expand Messages
  • raf
    ... ln -s /cygdrive/c/usr /usr raf
    Message 1 of 1 , Jan 28, 2001
    • 0 Attachment
      Pritesh Mistry wrote:

      > In this case "c:/cygwin" would be your "/" & in unix I think "/" can't have
      > a parent directory, nor can it be changed! Hence, the use of the mapped
      > directories. How about installing under "c:\" or creating an alias.
      >
      > Also, if you add "/"\bin to your path, you'd be able to use the unix tools
      > under the command prompt itself (except for error message with vi/m - Can't
      > write viminfo file $HOME/.viminfo! due to the way the env-var is accessed).
      >
      > HTH!
      >
      >
      > > -----Original Message-----
      > > From: Rene Nyffenegger [mailto:rene.nyffenegger@...]
      > > Sent: Tuesday, January 23, 2001 6:47 pm
      > > To: vim@...
      > > Subject: cygwin, vim and paths
      > >
      > >
      > > Hi
      > >
      > > I compiled a recent vim (6.0r or so) version under cygwin but with
      > > -DFEAT_GUI which
      > > (as I believe) compiles a windows version for vim.
      > > The problem is: If I use it under cygwin (beeing installed
      > > under c:\cygwin)
      > > and open a file like
      > >
      > > $ vim /usr/local/etc/foo.bar
      > >
      > > it says it can't find /usr/local/etc/foo.bar
      > >
      > > but it will find the file if I open it like
      > >
      > > $ vim /cygdrive/c/usr/local/etc/foo.bar
      > >
      > > This is annoying, especially if using vim with gf (et al.) commands.
      > >
      > > Does anyone know how to do this?
      > >
      > > TIA
      > >
      > > Rene

      ln -s /cygdrive/c/usr /usr

      raf
    Your message has been successfully submitted and would be delivered to recipients shortly.