Byobu sources $BYOBU_CONFIG_DIR/.tmux.conf twice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Low
|
Dustin Kirkland | ||
byobu (Fedora) |
Fix Released
|
Undecided
|
|||
byobu (Ubuntu) |
Fix Released
|
Low
|
Dustin Kirkland |
Bug Description
Description of problem:
Byobu appears to source $BYOBU_
Version-Release number of selected component (if applicable):
byobu-5.
How reproducible:
Always
Steps to Reproduce:
1. Write a simple .byobu/.tmux.conf file:
[asinha@
new-window -ad -n "ncmpcpp"
new-window -ad -n "irssi"
[asinha@
2. select tmux as backend
3. run byobu
Actual results:
It starts two sessions (bug filed). The one session that does have these windows has them twice.
Expected results:
Session should only have them once
Additional info:
I dug in a little. So, byobu's command line with tmux is:
asinha 32124 1.5 0.0 22568 2076 ? Ss 00:18 0:00 tmux -2 -f /usr/share/
Now, tmuxrc sources the following files:
source-file $HOME/.
source-file $BYOBU_
source-file $BYOBU_
source-file $BYOBU_
Note that it's already sourcing $BYOBU_
It also sources $BYOBU_
source $BYOBU_
This file, again sources $BYOBU_
[asinha@
# Allow local overrides
source $BYOBU_
I think this causes duplication of windows.
no longer affects: | byobu (Fedora) |
Changed in byobu: | |
status: | New → In Progress |
importance: | Undecided → Medium |
importance: | Medium → Low |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in byobu (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in byobu: | |
status: | Fix Committed → Fix Released |
Changed in byobu (Fedora): | |
importance: | Unknown → Undecided |
status: | Unknown → Fix Released |
Description of problem: CONFIG_ DIR/.tmux. conf *twice*
Byobu appears to source $BYOBU_
Version-Release number of selected component (if applicable): 69-2.fc20. noarch
byobu-5.
How reproducible:
Always
Steps to Reproduce:
1. Write a simple .byobu/.tmux.conf file:
[asinha@ ankur-laptop ~]$ cat .byobu/.tmux.conf ankur-laptop ~]$
new-window -ad -n "ncmpcpp"
new-window -ad -n "irssi"
[asinha@
2. select tmux as backend
3. run byobu
Actual results:
It starts two sessions (bug filed). The one session that does have these windows has them twice.
Expected results:
Session should only have them once
Additional info:
I dug in a little. So, byobu's command line with tmux is:
asinha 32124 1.5 0.0 22568 2076 ? Ss 00:18 0:00 tmux -2 -f /usr/share/ byobu/profiles/ tmuxrc new-session -n - /usr/bin/ byobu-shell
Now, tmuxrc sources the following files: byobu/color. tmux CONFIG_ DIR/profile. tmux CONFIG_ DIR/keybindings .tmux CONFIG_ DIR/.tmux. conf
source-file $HOME/.
source-file $BYOBU_
source-file $BYOBU_
source-file $BYOBU_
Note that it's already sourcing $BYOBU_ CONFIG_ DIR/.tmux. conf
It also sources $BYOBU_ CONFIG_ DIR/profile. tmux which has the one line: PREFIX/ share/byobu/ profiles/ tmux
source $BYOBU_
This file, again sources $BYOBU_ CONFIG_ DIR/.tmux. conf in it's last line: ankur-laptop ~]$ tail -2 /usr/share/ byobu/profiles/ tmux CONFIG_ DIR/.tmux. conf
[asinha@
# Allow local overrides
source $BYOBU_
I think this causes duplication of windows.