Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] On SSH session, /usr/bin is prefered over /usr/local/bin in search PATH
@ 2019-10-25  3:02 voidlinux-github
  2020-07-09  1:18 ` [ISSUE] [CLOSED] " sgn
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-10-25  3:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 578 bytes --]

New issue by zdtcd on void-packages repository

https://github.com/void-linux/void-packages/issues/15781

Description:
From 20c06e3b0a, on SSH session (and any tmux session started from that SSH session), `/usr/bin` is preferred to `/usr/local/bin`. Its PATH variable is:

```
$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin
```

On console session, PATH variable is:
```
$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
```

I'm gonna draft an RFC change to just prepend `/usr/local/sbin:/usr/local/bin` to PATH.

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

* Re: [ISSUE] [CLOSED] On SSH session, /usr/bin is prefered over /usr/local/bin in search PATH
  2019-10-25  3:02 [ISSUE] On SSH session, /usr/bin is prefered over /usr/local/bin in search PATH voidlinux-github
@ 2020-07-09  1:18 ` sgn
  0 siblings, 0 replies; 2+ messages in thread
From: sgn @ 2020-07-09  1:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 823 bytes --]

Closed issue by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/15781

Description:
From 20c06e3b0a, on SSH session (and any tmux session started from that SSH session), `/usr/bin` is preferred to `/usr/local/bin`. Its PATH variable is:

```
$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin
```

On console session, PATH variable is:
```
$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
```

I'm gonna draft an RFC change to just prepend `/usr/local/sbin:/usr/local/bin` to PATH.

---

My laptop's `/etc/profile` still stays on the old version, which we forced the hard coded initial PATH, hence I barely notice it.

I only discovered this problem when SSH-ing into my desktop (which is recently installed VoidLinux).

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

end of thread, other threads:[~2020-07-09  1:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-25  3:02 [ISSUE] On SSH session, /usr/bin is prefered over /usr/local/bin in search PATH voidlinux-github
2020-07-09  1:18 ` [ISSUE] [CLOSED] " sgn

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 NNTP newsgroup(s).