Add minor env var and alias changes

This commit is contained in:
2025-08-20 21:56:14 -05:00
parent fd4a95bc36
commit 34a62957e8
5 changed files with 5 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ local omitted_dirs=(
$HOME
$DIR_HOME_BOX
$DIR_DEV
$DIR_DEV/git
$DIR_GIT_PROJECTS
)
[[ ! ${omitted_dirs[(re)$(pwd)]} ]] &&
tmux new-window -d -n cmd &&

View File

@@ -7,7 +7,6 @@ switch_to() {
hydrate() {
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="$DIR_SCRIPTS/.tmux-session-hydrate-hub"
[[ -f $tmux_hydrate_path ]] && tmux send-keys -t $1 "source $tmux_hydrate_path" c-M
}
@@ -16,7 +15,7 @@ local existing_sessions=$([[ -n $(pgrep tmux) ]] && tmux list-sessions | sed "s/
local search_dirs=(
$DIR_HOME_BOX
$DIR_DEV
$DIR_DEV/git/*
$DIR_GIT_PROJECTS/*
)
local target_name=''
local target_path=''