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

Bug #1696546 reported by Srinivas on 2017-06-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
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.

Related branches

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).

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  Edit
Everyone can see this information.

Other bug subscribers