Awesome and Zsh configuration changes

This commit is contained in:
Johannes Findeisen 2022-10-23 00:10:36 +02:00
commit 41bd187106
No known key found for this signature in database
GPG key ID: 2128DE136929E573
5 changed files with 51 additions and 20 deletions

14
.zsh_functions.zsh Normal file
View 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"
}