On Mon, Apr 26, 2021 at 05:46:14PM -0400, Allan Streib wrote:
"tetrahe...@danwin1210.me" <tetrahe...@danwin1210.me> writes:

It looks like the custom $PATH is not being passed from the login shell
on downwards, since ~/.profile is only read by a login shell.

I just was looking into the same thing last night. The ksh shell in the
xterm didn't seem to be processing my .profile. Adding the '-ls'
argument to the xterm command resolved that.

  -ls     This option indicates that the shell that is started in the
          xterm window will be a login shell (i.e., the first character
          of argv[0] will be a dash, indicating to the shell that it
          should read the user's .login or .profile).

Thanks. Yes, that would work, but I feel like the contents of ~/.profile should be available to other commands as well, not just the xterm window.

Reply via email to