public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Why didn't a Cygwin install create the default dot files?
@ 2020-03-26 17:20 David Karr
  2020-03-26 19:02 ` Andrey Repin
  0 siblings, 1 reply; 2+ messages in thread
From: David Karr @ 2020-03-26 17:20 UTC (permalink / raw)
  To: The Cygwin Mailing List

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Why didn't a Cygwin install create the default dot files?
  2020-03-26 17:20 Why didn't a Cygwin install create the default dot files? David Karr
@ 2020-03-26 19:02 ` Andrey Repin
  0 siblings, 0 replies; 2+ messages in thread
From: Andrey Repin @ 2020-03-26 19:02 UTC (permalink / raw)
  To: David Karr, cygwin

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-26 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 17:20 Why didn't a Cygwin install create the default dot files? David Karr
2020-03-26 19:02 ` Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).