* usr/bin/byobu: LP: #914424

- use READLINK
* usr/share/byobu/profiles/tmux:
  - add some comments
This commit is contained in:
Dustin Kirkland 2012-01-15 09:32:24 -06:00
commit 7856650dda
3 changed files with 10 additions and 2 deletions

4
debian/changelog vendored
View file

@ -10,6 +10,10 @@ byobu (5.3) unreleased; urgency=low
* usr/bin/byobu, usr/share/byobu/profiles/tmux: LP: #908766
- TERM must be 'screen', to work with: a) 256 colors, and
b) vim/mutt with bce; tmux does not support bce properly
* usr/bin/byobu: LP: #914424
- use READLINK
* usr/share/byobu/profiles/tmux:
- add some comments
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 08 Jan 2012 20:28:08 -0600

View file

@ -44,7 +44,8 @@ if [ -r "$HOME/.byoburc" ]; then
fi
if [ -z "${BYOBU_PREFIX}" ]; then
# Find and export the installation location prefix
prefix="$(dirname $(dirname $(readlink -f $0)))"
command -v greadlink >/dev/null 2>&1 && export READLINK="greadlink" || export READLINK="readlink"
prefix="$(dirname $(dirname $($READLINK -f $0)))"
if [ "$prefix" != "/usr" ]; then
echo "export BYOBU_PREFIX='$prefix'" >> "$HOME/.byoburc"
. "$HOME/.byoburc"

View file

@ -63,16 +63,19 @@ set-window-option -g window-status-alert-attr bold
set-window-option -g automatic-rename on
set-window-option -g aggressive-resize on
set-window-option -g monitor-activity on
#set-window-option -g xterm-keys on
# Cannot use:
# - screen-bce, screen-256color-bce: tmux does not support bce
# - screen-256color: vim broken without -bce
set -g default-terminal "screen"
# The following helps with Shift-PageUp/Shift-PageDown
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# Must set default-command to $SHELL, in order to not source ~/.profile
# BUG: Should *not* hardcode /bin/bash here
set -g default-command $SHELL
set -g status-bg $BYOBU_DARK
set -g status-fg $BYOBU_LIGHT
set -g status-interval 1