fix(shell): use single ~/.config/zsh/local.zsh for machine local

Replace the local/ directory of split env/login/interactive files with
one always-on local.zsh sourced from .zshenv. Deploy migrates old
fragments and never overwrites local.zsh.
This commit is contained in:
Jeffrey
2026-08-06 14:41:31 +08:00
parent f8dcc29a2f
commit caac9235f6
11 changed files with 99 additions and 81 deletions
+6
View File
@@ -0,0 +1,6 @@
# Copy to ~/.config/zsh/local.zsh (deploy never overwrites local.zsh).
# Sourced from ~/.zshenv after managed env modules — every zsh sees this,
# including non-interactive agent shells.
#
# . "$HOME/.cargo/env"
# source ~/.orbstack/shell/init.zsh 2>/dev/null || :