mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 14:12:41 +00:00
Added cdots script.
Added cdots script, instead of alias. Now toggles or starts a tmux session.
This commit is contained in:
7
scripts/scripts/cdots
Executable file
7
scripts/scripts/cdots
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
session="dots"
|
||||
|
||||
tmux switch-client -t "$session" || \
|
||||
tmux attach -t "$session" || \
|
||||
tmux new-session -c "$DOTFILES" -s "$session"
|
||||
Reference in New Issue
Block a user