Refactor/reorg various files and references

This commit is contained in:
2025-04-04 16:55:39 -05:00
parent 36c10758b1
commit 42f9167958
10 changed files with 11 additions and 29 deletions

View File

@@ -5,9 +5,9 @@ switch_to() {
}
hydrate() {
local tmux_hydrate_path="$HOME/.local/bin/.tmux-session-hydrate-default"
local tmux_hydrate_path="$DIR_SCRIPTS/.tmux-session-hydrate-default"
[[ -f $2/.tmux-session-hydrate ]] && tmux_hydrate_path="$2/.tmux-session-hydrate"
# TODO: add special case: [[ "$1" = "hub" ]] && tmux_hydrate_path="$HOME/.local/bin/.tmux-session-hydrate-hub"
# TODO: add special case: [[ "$1" = "hub" ]] && tmux_hydrate_path="$DIR_SCRIPTS/.tmux-session-hydrate-hub"
[[ -f $tmux_hydrate_path ]] && tmux send-keys -t $1 "source $tmux_hydrate_path" c-M
}