Setup workspace when new tmux session is created
This commit is contained in:
parent
cc2d4a31a3
commit
7e1dc02d1b
@ -1,5 +1,7 @@
|
|||||||
# Start a session if none exists
|
# Start a session if none exists
|
||||||
new-session -s main
|
new-session -s main
|
||||||
|
# Start htop and split window
|
||||||
|
set-hook -t main session-created 'send-keys -t main:0 "htop" C-m; split-window'
|
||||||
|
|
||||||
# remap prefix from 'C-b' to 'C-a'
|
# remap prefix from 'C-b' to 'C-a'
|
||||||
unbind C-b
|
unbind C-b
|
||||||
|
Loading…
Reference in New Issue
Block a user