misc tweaks; cleanup irrelevant

This commit is contained in:
turtlebasket
2026-02-19 17:52:31 -08:00
parent 5c5128be85
commit c33c7583f1
18 changed files with 107 additions and 2928 deletions

13
scripts/tmux2 Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# simple wrapper for tmux that creates a new session for current directory if one doesn't exist
# meant for scoping sessions by /Projects/<project-name>/
session="$(basename "$PWD")"
tmux has-session -t "$session" 2>/dev/null
if [[ $? -eq 0 ]]; then
exec tmux attach -t "$session"
else
exec tmux new -s "$session"
fi