to load bash_profile
in /usr/local/bin/byobu-shell or /usr/bin/byobu-shell
there is one lile
[ -n "$SHELL" -a -x "$SHELL" ] && exec "$SHELL" || exec /bin/bash
changed it to
[ -n "$SHELL" -a -x "$SHELL" ] && exec "$SHELL" --login || exec /bin/bash --login
Reference:
https://byobu.org/index.html
https://help.ubuntu.com/lts/serverguide/byobu.html
http://manpages.ubuntu.com/manpages/eoan/en/man1/byobu.1.html
No comments:
Post a Comment