Add infra session layout
This commit is contained in:
parent
360f5d0115
commit
d874f095a4
@ -10,6 +10,7 @@ declare -A symlinks=(
|
||||
)
|
||||
|
||||
layouts=(
|
||||
session-infra
|
||||
session-local
|
||||
session-main
|
||||
session-visor
|
||||
|
12
layouts/session-infra
Executable file
12
layouts/session-infra
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
tmux rename-window home
|
||||
|
||||
for entry in ~/Projects/infra/*; do
|
||||
if [ ! -d $entry ]; then
|
||||
continue
|
||||
fi
|
||||
tmux new-window -c $entry
|
||||
tmux rename-window $(basename $entry)
|
||||
`dirname $0`/window-auto
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user