Use BYOBU_PREFIX explicitly.

LP: #861302
This commit is contained in:
Daniel Hahler 2011-09-28 12:34:38 +02:00
commit 584d3c25ba
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@ case $BYOBU_BACKEND in
fi fi
export BYOBU_WINDOWS export BYOBU_WINDOWS
# Launch shell, unless the user has default windows set to launch # Launch shell, unless the user has default windows set to launch
uncommented_lines < "$BYOBU_WINDOWS" && DEFAULT_WINDOW= || DEFAULT_WINDOW="-t ${SHELL##*/} byobu-shell" uncommented_lines < "$BYOBU_WINDOWS" && DEFAULT_WINDOW= || DEFAULT_WINDOW="-t ${SHELL##*/} ${BYOBU_PREFIX}/bin/byobu-shell"
# Check if our terminfo supports 256 colors # Check if our terminfo supports 256 colors
if command -v tput >/dev/null; then if command -v tput >/dev/null; then
if [ "$(tput colors 2>/dev/null || echo 0)" = "256" ]; then if [ "$(tput colors 2>/dev/null || echo 0)" = "256" ]; then

View file

@ -42,7 +42,7 @@ update_flag() {
} }
install_launcher() { install_launcher() {
printf "_byobu_sourced=1 . byobu-launch\n" >> "$1" printf "_byobu_sourced=1 . ${BYOBU_PREFIX}/bin/byobu-launch\n" >> "$1"
} }
# Sanitize the environment # Sanitize the environment