Do not use BYOBU_PREFIX for files from tmux.

- LP: #910779
This commit is contained in:
Daniel Hahler 2012-01-02 11:13:27 +01:00
commit c3cb9e0937
2 changed files with 3 additions and 3 deletions

View file

@ -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
;;

View file

@ -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