I would like Byobu to start with 4 windows (Byobu in the Byobu sense, not in the Ubuntu sense):
- One window showing
top
- One window showing a
bash
in/
- One window showing a
bash
in $HOME - One window showing a
vim
on an existing file
So I wrote this in my ~/.byoburc
:
byobu new-session -s my -n Top -d "top"
byobu new-window -t my -d -n Root -c /
byobu new-window -t my -d -n Personal
byobu new-window -t my -d -n Notes -d "vim /home/nico/notes.txt"
And now byobu does not even start, I guess it just calls itself. So I tried removing the byobu
part:
new-session -s my -n Top -d "top"
new-window -t my -d -n Root -c /
new-window -t my -d -n Personal
new-window -t my -d -n Notes -d "vim /home/nico/notes.txt"
But it says it does not find the new-session
command.
QUESTION: What is the correct syntax?