From c3cb9e093716bfef94961da1c8103c5f6477c4bd Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 2 Jan 2012 11:13:27 +0100 Subject: [PATCH] Do not use BYOBU_PREFIX for files from tmux. - LP: #910779 --- usr/bin/byobu-ctrl-a | 2 +- usr/share/byobu/profiles/tmux | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/bin/byobu-ctrl-a b/usr/bin/byobu-ctrl-a index 1cec73ce..f4bed34c 100755 --- a/usr/bin/byobu-ctrl-a +++ b/usr/bin/byobu-ctrl-a @@ -76,7 +76,7 @@ case "$bind_to" in echo 'escape "^Aa"' >> "$keybindings" echo 'register x "^A"' >> "$keybindings" echo 'bindkey "^A"' >> "$keybindings" - echo "source \$BYOBU_PREFIX/share/doc/tmux/examples/screen-keys.conf" > "$keybindings.tmux" + echo "source /usr/share/doc/tmux/examples/screen-keys.conf" > "$keybindings.tmux" echo "INFO: ctrl-a will now operate in GNU Screen mode" break ;; diff --git a/usr/share/byobu/profiles/tmux b/usr/share/byobu/profiles/tmux index e3410a73..9ea4cb00 100644 --- a/usr/share/byobu/profiles/tmux +++ b/usr/share/byobu/profiles/tmux @@ -26,9 +26,9 @@ new-window -d byobu-janitor set -s escape-time 0 # Change to Screen's ctrl-a escape sequence -source $BYOBU_PREFIX/share/doc/tmux/examples/screen-keys.conf +source /usr/share/doc/tmux/examples/screen-keys.conf # On Archlinux, this file is not under the same directory -source $BYOBU_PREFIX/share/tmux/screen-keys.conf +source /usr/share/tmux/screen-keys.conf # Add F12 to the prefix list set -g prefix ^A,F12