public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Kirill Frolov <frolovkirill7@gmail.com>, cygwin@cygwin.com
Subject: Re: Nano fails to open file "~/.bashrc".
Date: Sat, 4 Mar 2023 16:21:28 +0300	[thread overview]
Message-ID: <1135047136.20230304162128@yandex.ru> (raw)
In-Reply-To: <caa7e9ab-bc9f-9336-2e88-ef06e1df9384@gmail.com>

Greetings, Kirill Frolov!

> $ which nano
> /cygdrive/c/Program Files/Git/usr/bin/nano

That explains it. Cygwin does not install nano by default.
Fire up your setup.exe and install it, that will fix your issue.
As for the future, I suggest to patch your ~/.profile and exclude
unnecessary/conflicting directories from $PATH.
Something along the lines of

PATH="$(tr ":" "\\n" <<<"$PATH" | grep -v /Windows/ | tr "\\n" ":")" export PATH


-- 
With best regards,
Andrey Repin
Saturday, March 4, 2023 16:14:34

Sorry for my terrible english...


  parent reply	other threads:[~2023-03-04 13:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-03 12:43 Kirill Frolov
2023-03-03 12:47 ` Andrey Repin
2023-03-03 12:52   ` Kirill Frolov
2023-03-03 15:31     ` Andrey Repin
2023-03-03 15:37       ` Kirill Frolov
2023-03-03 15:53         ` Eliot Moss
2023-03-04  9:55           ` Oliver Schoede
2023-03-04 13:21         ` Andrey Repin [this message]
2023-03-05 21:19           ` Oliver Schoede

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=1135047136.20230304162128@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    --cc=frolovkirill7@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).