I\'m trying to install PyQt4 so I can mess around with it. The installation guide said I had to install Sip. The last step to installing Sip is to use the make install
Define a variable in .bashrc :
export C=/cygdrive/c
then you can use
cd $C/
and the tab autocompletes correctly (please include the / at the end)
The one I like is: cd C:
To have linux like feel then do:
ln -s /cygdrive/c/folder ~/folder
and use this like: ~/folder/..
You already accepted an answer, but I just thought I'd mention that the following also works in Cygwin:
cd "C:\Foo"
I think the cd /cygdrive/c
method is better, but sometimes it's useful to know that you can do this too.
You can just use
cd C:/Users/../..
you can try this
/cygdrive/c/directoryname
On a related note, you may also like:
shopt -s autocd
This allows you to cd a dir by just typing in the dir
[user@host ~]$ /cygdrive/d
cd /cygdrive/d
[user@host /cygdrive/d]$
To make is persistent you should add it to your ~/.bashrc