Nano fails to open file "~/.bashrc".
Andrey Repin
anrdaemon@yandex.ru
Sat Mar 4 13:21:28 GMT 2023
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...
More information about the Cygwin
mailing list