[mythtv-users] xterm prompt configuration
David Brodbeck
gull at gull.us
Thu Jul 23 23:53:13 UTC 2009
Jarod Wilson wrote:
> On Jul 23, 2009, at 4:53 PM, H P Ladds wrote:
>> Yea, you would think, but the tty1 prompt for user mythtv is
>> "mythtv at mythtv:~$." In the xterm window, the prompt is "sh-3.1$" for
>> non-root users. A Fluxbox thing perhaps?
>
> Possibly. Possibly an xterm thing too. Seems $something isn't sourcing
> in profile bits when a new shell is spawned. It behaves just like
> gnome-terminal here on my workstation, prompt looks the same. No clue
> what's up...
Probably the xterm isn't opening a login shell, but rather a subshell.
When bash starts as a login shell, it runs .bash_profile; when it's a
subshell it runs .bashrc.
More information about the mythtv-users
mailing list