tmux: Fixed window index for startup command
This commit is contained in:
parent
e593ca2c50
commit
c3df9f22af
@ -19,7 +19,7 @@ set-option -g history-limit 10000
|
||||
new-session -s main
|
||||
|
||||
# Start htop and split the window when the session "main" is created
|
||||
set-hook -t main session-created 'send-keys -t main:0 "sudo htop" C-m; split-window'
|
||||
set-hook -t main session-created 'send-keys -t main:1 "sudo htop" C-m; split-window'
|
||||
|
||||
### Key Bindings
|
||||
# Remap the prefix key from 'C-b' (Ctrl-b) to 'C-a' (Ctrl-a)
|
||||
|
Loading…
Reference in New Issue
Block a user