xonsh and byobu by singpolyma | tildeverse BBJ

>0 singpolyma @ 2021/03/12 01:28

So, I just got here, and on first login it asked me what shell I wanted.
xonsh was in the list, so I thought I'd give it a whirl.
Then it told me it would set up byobu.

Long story short, the byobu setup puts stuff in .profile which xonsh does not read.

At the moment my solution is to enable bash as a "foreign shell" which amounts to this is ~/.xonshrc:

source-bash --login True "echo loading xonsh foreign shell"

Just thought I'd share :)

>1 singpolyma @ 2021/03/12 04:03

Ok, so, somehow running byobu like this inside of a xonsh login shell make
resizing not work. I'm not sure why or anything, but here's what I'm doing
now instead:

/bin/bash as login shell

in ~/.byobu/.tmux.conf:

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

>2 fastidious @ 2021/03/24 17:22

>>OP
> So, I just got here, and on first login it asked me what shell I wanted.
> xonsh was in the list, so I thought I'd give it a whirl.

Now I need to go research what in the world is xonsh. :-D