- 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
This commit is contained in:
Dustin Kirkland 2018-08-12 10:12:24 -05:00
commit 3103fc03a7
2 changed files with 5 additions and 1 deletions

3
debian/changelog vendored
View file

@ -34,6 +34,9 @@ byobu (5.127) unreleased; urgency=medium
- re-render png's, as Chrome started rendering middle color wrong - re-render png's, as Chrome started rendering middle color wrong
* usr/bin/byobu-select-profile.in, usr/share/man/man1/byobu-select- * usr/bin/byobu-select-profile.in, usr/share/man/man1/byobu-select-
profile.1: LP: #1717746 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 <kirkland@ubuntu.com> Sun, 27 May 2018 18:07:11 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Sun, 27 May 2018 18:07:11 -0500

View file

@ -39,7 +39,8 @@ else
export BYOBU_CHARMAP=UTF-8 export BYOBU_CHARMAP=UTF-8
fi fi
if [ -n "$TMUX" ]; then 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 fi
# vi: syntax=sh ts=4 noexpandtab # vi: syntax=sh ts=4 noexpandtab