Byobu overwrites shell prompt setting
Bug #525552 reported by
Nikolaus Rath
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Low
|
Unassigned | ||
byobu (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I am setting the PS1 environment variable in ~/.bash_profile for login shells. This variable is inherited by subshells, so if I simply call /bin/sh, I still get the prompt that I have configured.
Byobi, for some reason manages to circumvent this and leaves me with the ugly 'bash-4.0$' default prompt. The only thing I can think of is that byobi either explicitly unsets PS1 before launching the shell, or it causes the shell to read some configuration file that is normally not read and that sets PS1 = \s-\v\$.
Changed in byobu: | |
importance: | Undecided → Low |
status: | New → Incomplete |
Changed in byobu: | |
status: | Confirmed → Fix Committed |
Changed in byobu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi there, thanks for the report.
I just verified in the source code, Byobu doesn't modify PS1 at all, anywhere in its source code.
What do you get if you just run screen (without byobu)?
Also, can you try putting your PS1 definition into your ~/.bashrc ?