Add session-created hook to automate session layouts

This commit is contained in:
2022-09-20 13:32:44 +01:00
parent 27025bffbd
commit 1e14c8f9c6
4 changed files with 21 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
# Set global hooks to perform actions when events occur
set-hook -g session-created 'run ~/.config/tmux/hooks/session-create.sh'
# Set the tmux version to check for command support
run 'tmux setenv -g TMUX_VERSION $(tmux -V | cut -c 6-8)'