diff --git a/README.md b/README.md index f11f51c..9b78f55 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,6 @@ - config for ghostty - config for mpd, mpc, ncmpcpp - 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) - 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 diff --git a/src_files/.config/zsh/.zshenv b/src_files/.config/zsh/.zshenv index 3e4904d..ecf4149 100644 --- a/src_files/.config/zsh/.zshenv +++ b/src_files/.config/zsh/.zshenv @@ -5,6 +5,7 @@ export EDITOR='nvim' # env vars used for my organization structure export DIR_HOME_BOX="$HOME/dbox" export DIR_DEV="$HOME/dev" +export DIR_GIT_PROJECTS="$DIR_DEV/git" # util dirs; do not change without checking impact on xdg base dirs export DIR_LOCAL="$HOME/.local" diff --git a/src_files/.config/zsh/.zshrc b/src_files/.config/zsh/.zshrc index d56a233..9e5b097 100644 --- a/src_files/.config/zsh/.zshrc +++ b/src_files/.config/zsh/.zshrc @@ -18,9 +18,10 @@ alias tms='tmux-sessionizer' # executable name overrides alias ls='ls -F' -alias youtube-dl='youtube-dl --write-info-json' +alias yt-dlp='yt-dlp --write-info-json' # misc commands +alias cal='khal calendar' alias pdt='ping -c 2 drinkingtea.net' alias ppw='ping -c 2 pinewoods.xyz' alias weather='curl wttr.in' diff --git a/src_files/.local/scripts/.tmux-session-hydrate-default b/src_files/.local/scripts/.tmux-session-hydrate-default index 6a4a5b0..d958de9 100644 --- a/src_files/.local/scripts/.tmux-session-hydrate-default +++ b/src_files/.local/scripts/.tmux-session-hydrate-default @@ -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 && diff --git a/src_files/.local/scripts/tmux-sessionizer b/src_files/.local/scripts/tmux-sessionizer index 7e7e9d0..446a9cc 100755 --- a/src_files/.local/scripts/tmux-sessionizer +++ b/src_files/.local/scripts/tmux-sessionizer @@ -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=''