mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
* usr/bin/byobu: LP: #914424
- use READLINK * usr/share/byobu/profiles/tmux: - add some comments
This commit is contained in:
parent
3a541bf311
commit
7856650dda
3 changed files with 10 additions and 2 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -10,6 +10,10 @@ byobu (5.3) unreleased; urgency=low
|
||||||
* usr/bin/byobu, usr/share/byobu/profiles/tmux: LP: #908766
|
* usr/bin/byobu, usr/share/byobu/profiles/tmux: LP: #908766
|
||||||
- TERM must be 'screen', to work with: a) 256 colors, and
|
- TERM must be 'screen', to work with: a) 256 colors, and
|
||||||
b) vim/mutt with bce; tmux does not support bce properly
|
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
|
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 08 Jan 2012 20:28:08 -0600
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,8 @@ if [ -r "$HOME/.byoburc" ]; then
|
||||||
fi
|
fi
|
||||||
if [ -z "${BYOBU_PREFIX}" ]; then
|
if [ -z "${BYOBU_PREFIX}" ]; then
|
||||||
# Find and export the installation location prefix
|
# 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
|
if [ "$prefix" != "/usr" ]; then
|
||||||
echo "export BYOBU_PREFIX='$prefix'" >> "$HOME/.byoburc"
|
echo "export BYOBU_PREFIX='$prefix'" >> "$HOME/.byoburc"
|
||||||
. "$HOME/.byoburc"
|
. "$HOME/.byoburc"
|
||||||
|
|
|
@ -63,16 +63,19 @@ set-window-option -g window-status-alert-attr bold
|
||||||
set-window-option -g automatic-rename on
|
set-window-option -g automatic-rename on
|
||||||
set-window-option -g aggressive-resize on
|
set-window-option -g aggressive-resize on
|
||||||
set-window-option -g monitor-activity on
|
set-window-option -g monitor-activity on
|
||||||
#set-window-option -g xterm-keys on
|
|
||||||
|
|
||||||
# Cannot use:
|
# Cannot use:
|
||||||
# - screen-bce, screen-256color-bce: tmux does not support bce
|
# - screen-bce, screen-256color-bce: tmux does not support bce
|
||||||
# - screen-256color: vim broken without -bce
|
# - screen-256color: vim broken without -bce
|
||||||
set -g default-terminal "screen"
|
set -g default-terminal "screen"
|
||||||
|
|
||||||
|
# The following helps with Shift-PageUp/Shift-PageDown
|
||||||
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
|
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
|
||||||
|
|
||||||
# Must set default-command to $SHELL, in order to not source ~/.profile
|
# Must set default-command to $SHELL, in order to not source ~/.profile
|
||||||
# BUG: Should *not* hardcode /bin/bash here
|
# BUG: Should *not* hardcode /bin/bash here
|
||||||
set -g default-command $SHELL
|
set -g default-command $SHELL
|
||||||
|
|
||||||
set -g status-bg $BYOBU_DARK
|
set -g status-bg $BYOBU_DARK
|
||||||
set -g status-fg $BYOBU_LIGHT
|
set -g status-fg $BYOBU_LIGHT
|
||||||
set -g status-interval 1
|
set -g status-interval 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue