# This file is run by emacs when runs Cygwin bash in a window # But to work, the directory where sed lives (c:/cygwin/bin below) # has to be the place where the Cygwin DLL lives. source D:/.bashrc # change the prompt to be shorter PS1='$ ' # Set the PATH variable to be the right path # with the mount points translated as Cygwin expects PATH=`echo "$PATH" | C:/cygwin/bin/sed -e 's@\\\\@/@g' -e 's@[Cc]:/cygwin@@g' -e 's@[Cc]:/@/cygdrive/c/@g' -e 's@[Dd]:@/home@g' -e 's@[Ee]:@/misc@g' -e 's@;@:@g'` export PATH rehash