mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 09:56:39 +00:00
Additionally, also fix a bug when creating a window, where as if the session name was the same as a window that already existed, it would fail, accidentally using the window rather than the session at a target.
14 lines
391 B
Bash
14 lines
391 B
Bash
# Set window root path. Default is `$session_root`.
|
|
# Must be called before `new_window`.
|
|
#window_root "~/Projects/example"
|
|
|
|
# Create new window. If no argument is given, window name will be based on
|
|
# layout file name.
|
|
new_window "{{WINDOW_NAME}}"
|
|
|
|
# Split window into panes.
|
|
#tmux split-window -t "$session:$window.0" -h -p 20
|
|
|
|
# Set active pane.
|
|
#tmux select-pane -t "$session:$window.0"
|