From 3103fc03a779920885a8c12445696151039e5433 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Sun, 12 Aug 2018 10:12:24 -0500 Subject: [PATCH] - deprecate interactive mode for byobu-select-profile * usr/lib/byobu/include/toggle-utf8.in: LP: #1696546 - try to support zsh and other shells in addition to bash --- debian/changelog | 3 +++ usr/lib/byobu/include/toggle-utf8.in | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 834cfe35..216fe049 100644 --- a/debian/changelog +++ b/debian/changelog @@ -34,6 +34,9 @@ byobu (5.127) unreleased; urgency=medium - re-render png's, as Chrome started rendering middle color wrong * usr/bin/byobu-select-profile.in, usr/share/man/man1/byobu-select- profile.1: LP: #1717746 + - deprecate interactive mode for byobu-select-profile + * usr/lib/byobu/include/toggle-utf8.in: LP: #1696546 + - try to support zsh and other shells in addition to bash -- Dustin Kirkland Sun, 27 May 2018 18:07:11 -0500 diff --git a/usr/lib/byobu/include/toggle-utf8.in b/usr/lib/byobu/include/toggle-utf8.in index 568413d6..75268811 100755 --- a/usr/lib/byobu/include/toggle-utf8.in +++ b/usr/lib/byobu/include/toggle-utf8.in @@ -39,7 +39,8 @@ else export BYOBU_CHARMAP=UTF-8 fi if [ -n "$TMUX" ]; then - tmux send-keys " export BYOBU_CHARMAP=$BYOBU_CHARMAP ; . ~/.bashrc" \; send-keys Enter + RC_FILE=$(echo "$SHELL" | $BYOBU_SED "s:.*/::") + tmux send-keys " export BYOBU_CHARMAP=$BYOBU_CHARMAP ; . ~/.${RC_FILE}rc" \; send-keys Enter fi # vi: syntax=sh ts=4 noexpandtab