tmux: allow setting default-shell before new-session
This commit is contained in:
parent
7c3c64208e
commit
9c14bbe988
4 changed files with 70 additions and 1 deletions
30
tests/modules/programs/tmux/default-shell.conf
Normal file
30
tests/modules/programs/tmux/default-shell.conf
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# ============================================= #
|
||||
# Start with defaults from the Sensible plugin #
|
||||
# --------------------------------------------- #
|
||||
run-shell @sensible_rtp@
|
||||
# ============================================= #
|
||||
|
||||
set -g default-terminal "screen"
|
||||
set -g base-index 0
|
||||
setw -g pane-base-index 0
|
||||
# We need to set default-shell before calling new-session
|
||||
set -g default-shell "/usr/bin/myshell"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set -g status-keys emacs
|
||||
set -g mode-keys emacs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
setw -g aggressive-resize off
|
||||
setw -g clock-mode-style 12
|
||||
set -s escape-time 500
|
||||
set -g history-limit 2000
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue