This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: A $ in my path...




>> -----Original Message-----
>> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
>> Of ProblematicRoutes
>> Sent: Thursday, October 23, 2008 9:34 AM
>> To: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]