byobu doesn't set bash prompt properly
Bug #1280550 reported by
Arminius Silvanus
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Medium
|
Dustin Kirkland | ||
byobu (Ubuntu) |
Fix Released
|
Medium
|
Dustin Kirkland |
Bug Description
I normally use zsh, but occasionally I switch to bash. In that case, the bashrc in /usr/share/
I've done a bit of research on it - byobu's bashrc checks for the environment variable SHELL, which is set to the user's _preferred_ shell, not the currently running shell (see http://
The correct way to check if bash is running is to check for the environment variable BASH. I've attached a patch that does just that.
Changed in byobu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
bzr commit -m '* usr/share/ byobu/profiles/ bashrc: LP: #1280550 media/source/ byobu/byobu/ byobu/profiles/ bashrc
- test the $BASH variable, rather than $SHELL, to tell if we're
running in a bash environment' --fixes 'lp:1280550'
Committing to: /home/local/
modified debian/changelog
modified usr/share/
Committed revision 2293.