byobu-launch shopt error when using zsh
Bug #806609 reported by
Abe Voelker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Low
|
Unassigned | ||
byobu (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I have zsh set as my login shell. When I launch byobu, I see the following error:
`/usr/local/
I believe this is because `shopt` is bash-specific. I've attached a patch that uses `setopt` if the user is using zsh.
I'm still having some other issues launching byobu from zsh, so maybe this whole bug is moot as I'm just doing it the Wrong Way. But, thought I'd throw it out there.
Also, I'm not sure what the `|| true` is accomplishing, but I'm not a shell scripting master so I left it there.
tags: | added: patch |
Changed in byobu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Abe,
Thanks a lot for the bug and the patch! I'm committing a slightly modified version now.
I don't use zsh personally, but Byobu should certainly work just as well with zsh. Please file any other bugs here that prevent byobu from working properly on zsh (hints appreciated!).