tmux: Fixed window index for startup command

This commit is contained in:
Christian Baer 2024-11-05 21:41:55 +01:00
parent e593ca2c50
commit c3df9f22af

View File

@ -19,7 +19,7 @@ set-option -g history-limit 10000
new-session -s main new-session -s main
# Start htop and split the window when the session "main" is created # 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 ### Key Bindings
# Remap the prefix key from 'C-b' (Ctrl-b) to 'C-a' (Ctrl-a) # Remap the prefix key from 'C-b' (Ctrl-b) to 'C-a' (Ctrl-a)