Re: Why didn't a Cygwin install create the default dot files?

2020-03-26 Thread Andrey Repin
Greetings, David Karr!

> I've been using Cygwin for a long time. I haven't run a fresh install for
> quite a while.

> A colleague just installed Cygwin for the first time, following my basic
> instructions. He ended up with his Cygwin home being the same as his
> Windows home, which is different from my setup, but I think that's fine.

This suggests something in the environment. Possibly your colleague have
%HOME% defined. Cygwin will pick it up.

> What seems odd is that he didn't get the default dot files created, being
> .profile, .bash_profile, and .bashrc.

> I don't even remember whether this happened the first time I set it up.  In
> any case, I handed him my dot files to template from, but I was curious
> about that process.

These are only copied to profile, when a new profile directory is created.
I.e. if there's no HOME env. var set and Cygwin is with default nsswitch
configuration.

You can find Cygwin default profile in the usual place. /etc/skel, that is.


-- 
With best regards,
Andrey Repin
Thursday, March 26, 2020 21:56:38

Sorry for my terrible english...

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


Why didn't a Cygwin install create the default dot files?

2020-03-26 Thread David Karr via Cygwin
I've been using Cygwin for a long time. I haven't run a fresh install for
quite a while.

A colleague just installed Cygwin for the first time, following my basic
instructions. He ended up with his Cygwin home being the same as his
Windows home, which is different from my setup, but I think that's fine.
What seems odd is that he didn't get the default dot files created, being
.profile, .bash_profile, and .bashrc.  I don't even remember whether this
happened the first time I set it up.  In any case, I handed him my dot
files to template from, but I was curious about that process.
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple