10

I want to change my default shell in byobu without restarting it. However, when I modify lines in ~/.byobu/.tmux.conf to do this:

from:

set -g default-shell /usr/bin/fish
set -g default-command /usr/bin/fish

to:

set -g default-shell /usr/bin/zsh
set -g default-command /usr/bin/zsh

New windows and sessions still start with the fish prompt. I am not sure what else to try besides close out of all of the byobu sessions, but this is undesirable because processes are running which I do not want to kill.

How can I change my default shell in byobu, and can I do it without closing all byobu sessions/windows?

4ae1e1
  • 7,228
  • 8
  • 44
  • 77
jmerkow
  • 1,811
  • 3
  • 20
  • 35

1 Answers1

21

Just press F5 to refresh Byobu!

Full disclosure: I am the author and maintainer of Byobu.

Dustin Kirkland
  • 5,323
  • 3
  • 36
  • 34
  • Thank you! I knew it was something simple, I couldn't find any documentation on the various other questions related to this on how to refresh. – jmerkow Nov 20 '15 at 22:23
  • @Dustin Kirkland - Where do I put my `.tmux.conf` to get it to work with byobu? Is it possible to disable `ctrl+a` behavior in byobu? Apologies for the `@` this is driving me nuts – Scott Skiles Mar 14 '19 at 17:41
  • 2
    @Dustin Kirkland, how can we reload it on a system where F5 is bind to some other program? – Junaid Apr 03 '19 at 10:11
  • @ScottSkiles `~/.byobu/.tmux.conf` works – padfoot Mar 14 '22 at 21:41