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: chere not seeing my preferred $HOME




On 30/06/2016 21:55, Nellis, Kenneth wrote:
From: Rainer Blome

Hi Kenneth,

Hello. http://www.cygwin.com/acronyms/#PCYMTNQREAIYR
(Actually, I don't know how to do that, so I do it manually.)

not sure what you are aiming for here.

I simply want chere to run my .profile before it presents
me with the bash prompt.

The purpose of `chere` is, quoting from its help,
to "to right click a folder in Windows Explorer and
open a Cygwin shell *in that folder*."

Your `.bash_profile` should run in whatever directory
it is called from. To refer to a file in your $HOME,
explicitly do so (by prefixing any path with $HOME).

I guess the problem is knowing how to tell chere what
my Cygwin $HOME is.



https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch-home

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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