public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: David Karr <davidmichaelkarr@gmail.com>, cygwin@cygwin.com
Subject: Re: Why didn't a Cygwin install create the default dot files?
Date: Thu, 26 Mar 2020 22:02:34 +0300	[thread overview]
Message-ID: <108053324.20200326220234@yandex.ru> (raw)
In-Reply-To: <CAA5t8VoMSsROHz0wpundCFetq3K6MPcVcVE6_sZ0UYWTUTQDvQ@mail.gmail.com>

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


      reply	other threads:[~2020-03-26 19:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26 17:20 David Karr
2020-03-26 19:02 ` Andrey Repin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=108053324.20200326220234@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    --cc=davidmichaelkarr@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).