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

@@ -35,7 +35,6 @@
- config for ghostty - config for ghostty
- config for mpd, mpc, ncmpcpp - config for mpd, mpc, ncmpcpp
- config for mpv - config for mpv
- also, on macos, get it to open within terminal or just don't install it
- config for gimp, `src_files/.config/GIMP` (dir) - config for gimp, `src_files/.config/GIMP` (dir)
- set things in gtkrc only? still need to nest that within a sub dir? - set things in gtkrc only? still need to nest that within a sub dir?
- or maybe just configure in gimp's gui, copy the whole resulting dir into - or maybe just configure in gimp's gui, copy the whole resulting dir into

View File

@@ -5,6 +5,7 @@ export EDITOR='nvim'
# env vars used for my organization structure # env vars used for my organization structure
export DIR_HOME_BOX="$HOME/dbox" export DIR_HOME_BOX="$HOME/dbox"
export DIR_DEV="$HOME/dev" export DIR_DEV="$HOME/dev"
export DIR_GIT_PROJECTS="$DIR_DEV/git"
# util dirs; do not change without checking impact on xdg base dirs # util dirs; do not change without checking impact on xdg base dirs
export DIR_LOCAL="$HOME/.local" export DIR_LOCAL="$HOME/.local"

View File

@@ -18,9 +18,10 @@ alias tms='tmux-sessionizer'
# executable name overrides # executable name overrides
alias ls='ls -F' alias ls='ls -F'
alias youtube-dl='youtube-dl --write-info-json' alias yt-dlp='yt-dlp --write-info-json'
# misc commands # misc commands
alias cal='khal calendar'
alias pdt='ping -c 2 drinkingtea.net' alias pdt='ping -c 2 drinkingtea.net'
alias ppw='ping -c 2 pinewoods.xyz' alias ppw='ping -c 2 pinewoods.xyz'
alias weather='curl wttr.in' alias weather='curl wttr.in'

View File

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

View File

@@ -7,7 +7,6 @@ switch_to() {
hydrate() { hydrate() {
local tmux_hydrate_path="$DIR_SCRIPTS/.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" [[ -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 [[ -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=( local search_dirs=(
$DIR_HOME_BOX $DIR_HOME_BOX
$DIR_DEV $DIR_DEV
$DIR_DEV/git/* $DIR_GIT_PROJECTS/*
) )
local target_name='' local target_name=''
local target_path='' local target_path=''