mirror of
https://github.com/tmux-plugins/tmux-sensible.git
synced 2024-11-27 19:28:51 +00:00
Remove option checking
This commit is contained in:
parent
886b202f97
commit
2e6398b747
@ -67,6 +67,9 @@ key_binding_not_changed() {
|
|||||||
main() {
|
main() {
|
||||||
# OPTIONS
|
# OPTIONS
|
||||||
|
|
||||||
|
# enable renumbering of windows
|
||||||
|
tmux set-option -g renumber-windows on
|
||||||
|
|
||||||
# enable utf8 (option removed in tmux 2.2)
|
# enable utf8 (option removed in tmux 2.2)
|
||||||
tmux set-option -g utf8 on 2>/dev/null
|
tmux set-option -g utf8 on 2>/dev/null
|
||||||
|
|
||||||
@ -78,11 +81,6 @@ main() {
|
|||||||
tmux set-option -s escape-time 0
|
tmux set-option -s escape-time 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# enable renumbering of windows
|
|
||||||
if option_value_not_changed "renumber-windows" "off"; then
|
|
||||||
tmux set-option -g renumber-windows on
|
|
||||||
fi
|
|
||||||
|
|
||||||
# increase scrollback buffer size
|
# increase scrollback buffer size
|
||||||
if option_value_not_changed "history-limit" "2000"; then
|
if option_value_not_changed "history-limit" "2000"; then
|
||||||
tmux set-option -g history-limit 50000
|
tmux set-option -g history-limit 50000
|
||||||
|
Loading…
Reference in New Issue
Block a user