delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/24/09:02:43

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <20149694.post@talk.nabble.com>
Date: Fri, 24 Oct 2008 06:01:48 -0700 (PDT)
From: ProblematicRoutes <cgf AT syntilect DOT com>
To: cygwin AT cygwin DOT com
Subject: RE: A $ in my path...
In-Reply-To: <D1CE63BB766844448B4A8CDC82658DE4020CB9AB42@NALASEXMB03.na.qualcomm.com>
MIME-Version: 1.0
X-Nabble-From: cgf AT syntilect DOT com
References: <20132275 DOT post AT talk DOT nabble DOT com> <D1CE63BB766844448B4A8CDC82658DE4020CB9AB42 AT NALASEXMB03 DOT na DOT qualcomm DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com



>> -----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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019