Alt + F5 tries to access .bashrc for zsh shell also

Bug #1696546 reported by Srinivas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Fix Committed
Wishlist
Unassigned

Bug Description

I use zsh but Alt + F5 to toggle utf-8 tries to source .bashrc even though I have set zsh as default shell. Please modify /usr/lib/byobu/include/toggle-utf8 to support other shells.

Revision history for this message
Srinivas (kronos29296) wrote :

The file to source for zsh is .zshrc not .bashrc.

if [ -n "$TMUX" ]; then
 tmux send-keys " export BYOBU_CHARMAP=$BYOBU_CHARMAP ; . ~/.zshrc" \; send-keys Enter
fi

fixed the issue. Please modify so that it can work for all shells and not throw up an error.(Atleast the popular ones other than bash).

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Thanks! Fix committed.

Changed in byobu:
importance: Undecided → Wishlist
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.