Re: See repeated /usr/bin in my path

2024-04-19 Thread J M via Cygwin
El jue., 18 abr. 2024 18:50, Andrey Repin escribió: > Greetings, J M! > > > Isn't it better that original_path be removed all startwith > > $mycygwin_homepath? > > $original_path is stored once when you first run Cygwin with empty home > profile, IIRC. And not used anywhere. > , > > You have this

Re: See repeated /usr/bin in my path

2024-04-18 Thread Eliot Moss via Cygwin
On 4/18/2024 12:41 PM, Andrey Repin via Cygwin wrote: Greetings, J M! Isn't it better that original_path be removed all startwith $mycygwin_homepath? $original_path is stored once when you first run Cygwin with empty home profile, IIRC. And not used anywhere. That seems to be ORIGINAL_PATH

Re: See repeated /usr/bin in my path

2024-04-17 Thread J M via Cygwin
Hi Andrew, Isn't it better that original_path be removed all startwith $mycygwin_homepath? You have this scriptlet, but if you need all to work with all Linux distributions you need yo add unnecessary work, multiple code and cases for all, and complicate all. Regards El mié., 17 abr. 2024 23:35

Re: See repeated /usr/bin in my path

2024-04-17 Thread Andrey Repin via Cygwin
Greetings, J M! > I think that is a bug, in my Windows environment path I have this: > C:\cygwin64\bin > Then for some mystery change this to /usr/bin, instead to delete. > You can file an issue? It's not a bug, it's how Cygwin works. If you want to have Cygwin in your system PATH, you'll have t

Re: See repeated /usr/bin in my path

2024-04-17 Thread Doug Henderson via Cygwin
On Wed, Apr 17, 2024 at 11:11 AM J M via Cygwin wrote: > > Hi, > > I see repeated /usr/bin in my path. > I don't known if is something of my PC or not. > > To check I do: > which -a ls > Show: > /usr/bin/ls > /usr/bin/ls This is normal! We do this because on

Re: See repeated /usr/bin in my path

2024-04-17 Thread J M via Cygwin
I think that is a bug, in my Windows environment path I have this: C:\cygwin64\bin Then for some mystery change this to /usr/bin, instead to delete. You can file an issue? Regards El mié, 17 abr 2024 a las 19:10, J M () escribió: > Hi, > > I see repeated /usr/bin in my path. > I

See repeated /usr/bin in my path

2024-04-17 Thread J M via Cygwin
Hi, I see repeated /usr/bin in my path. I don't known if is something of my PC or not. To check I do: which -a ls Show: /usr/bin/ls /usr/bin/ls My path is: /usr/local/bin /usr/bin ... /usr/bin ... Seeing other files, I reach to /etc/profile and use one variable ORIGINAL_PATH that contain