Mail Archives: cygwin/2008/10/24/09:02:43
>> -----Original Message-----
>> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
>> Of ProblematicRoutes
>> Sent: Thursday, October 23, 2008 9:34 AM
>> To: cygwin AT cygwin DOT com
>> Subject: A $ in my path...
>>
>>
>> Hello all,
>>
>> I have just had my work system set upto use cygwin. Unfortunately, my
>> home
>> directory and all other directories which are mapped to network stores
>> and
>> properly backed up have a $ sign in their path:
>>
>> $ pwd
>> //sbs01/students_home$/csmith
>>
>> This $ sign causes problems everywhere - with latex, with svn, with
>> anything
>> that uses ~ to refer to my home directory, because it expands to ...$/...
>> and bash tries to parse the $/ as a variable.
>>
>> Does anyone know how to change this or hide this? It may only be a
>> problem
>> with pwd and applications which use this because, e.g., when I'm in /
>> (which
>> is C:\cygwin) and I type pwd I get "/" as the result.
>>
>
> Would this work?
> cd /home
> ln -s $HOME/csmith
> cd csmith
> export HOME=`pwd`
>
This worked nicely, and so I've added it to my .bashrc - thanks!
Andrew
--
View this message in context: http://www.nabble.com/A-%24-in-my-path...-tp20132275p20149694.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -