Lot of Zsh cleanups.
This commit is contained in:
parent
322cdc8b43
commit
382af57891
5 changed files with 27 additions and 1613 deletions
14
.zsh/functions.d/tmx.sh
Normal file
14
.zsh/functions.d/tmx.sh
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
tmx () {
|
||||
# Use -d to allow the rest of the function to run
|
||||
tmux new-session -d -s "CMD"
|
||||
tmux new-window
|
||||
# -d to prevent current window from changing
|
||||
#tmux new-window -d
|
||||
#tmux new-window -d
|
||||
#tmux new-window -d
|
||||
#tmux new-window -d
|
||||
# -d to detach any other client (which there shouldn't be,
|
||||
# since you just created the session).
|
||||
tmux attach-session -d -t "CMD"
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue