commit b0303bdd9f991e0fd39bc52a98035278e2da96a0 parent 2361dbae321a82651b6fa3d4e58a0222b5d83ce0 Author: Chris Bracken <chris@bracken.jp> Date: Tue, 21 Oct 2025 14:30:57 +0900 zsh: source ~/.local/config/zsh/zshrc if present This is the .zshrc equivalent of the local .zshenv sourcing we already do. Diffstat:
| M | .config/zsh/.zshrc | | | 6 | +++--- |
| M | .config/zsh/aliases | | | 11 | ----------- |
2 files changed, 3 insertions(+), 14 deletions(-)
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc @@ -81,7 +81,7 @@ if [ -f "$XDG_CONFIG_HOME/zsh/tools" ]; then . "$XDG_CONFIG_HOME/zsh/tools" fi -# Work. -if [ -f "/etc/bash_completion.d/hgd" ]; then - . "/etc/bash_completion.d/hgd" +# Source any machine-local config. +if [[ -f "$HOME/.local/config/zsh/zshrc" ]]; then + . "$HOME/.local/config/zsh/zshrc" fi diff --git a/.config/zsh/aliases b/.config/zsh/aliases @@ -25,14 +25,3 @@ alias g='egrep -i' alias cp='cp -ip' alias mv='mv -i' alias rm='rm -i' - -# work -alias fbug='gh -R flutter/flutter issue' -alias gemini='gemini --gfg' -alias gf="sed -e 's%.*google3/%@%;s/:.*$//" - -CC_FLUTTER="$HOME/Developer/flutter/flutter/engine/src/compile_commands.json" -alias cc_host="rm -f $CC_FLUTTER && ln -s out/host_debug_unopt_arm64/compile_commands.json $CC_FLUTTER" -alias cc_ios="rm -f $CC_FLUTTER && ln -s out/ios_debug_unopt/compile_commands.json $CC_FLUTTER" -alias cc_sim="rm -f $CC_FLUTTER && ln -s out/ios_debug_sim_unopt_arm64/compile_commands.json $CC_FLUTTER" -unset CC_FLUTTER