|
From: | Yuri |
Subject: | Re: ~/.profile and ~/.bash_profile aren't executed on login |
Date: | Sat, 9 Dec 2017 15:09:01 -0800 |
User-agent: | Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 12/09/17 15:01, Chet Ramey wrote:
Since it doesn't happen on any other OS, I suspect an issue with either the FreeBSD port or the pathname that appears in argv[0] when the shell is started, which is what bash uses to detect that it's been invoked as a login shell.
The full path is /usr/local/bin/bash as set in passwd db. It doesn't run ~/.profile when I run it manually using this path.
Yuri
[Prev in Thread] | Current Thread | [Next in Thread] |