feat(zsh): append managed zshrc suffix

This commit is contained in:
Konano 2026-09-27 23:24:22 +08:00
parent 5c60cd6bc4
commit 6745277d27
3 changed files with 3 additions and 2 deletions

View File

@ -208,6 +208,8 @@ configure_zsh() {
cp $scriptdir/files/zsh/90-other.zsh ~/.oh-my-zsh/custom/ cp $scriptdir/files/zsh/90-other.zsh ~/.oh-my-zsh/custom/
cp $scriptdir/files/zsh/ys-simple.zsh-theme ~/.oh-my-zsh/custom/themes/ cp $scriptdir/files/zsh/ys-simple.zsh-theme ~/.oh-my-zsh/custom/themes/
cp $scriptdir/files/zsh/iterm2_shell_integration.zsh ~/.iterm2_shell_integration.zsh cp $scriptdir/files/zsh/iterm2_shell_integration.zsh ~/.iterm2_shell_integration.zsh
printf '\n' >>~/.zshrc
cat "$scriptdir/files/zsh/zshrc-suffix.zsh" >>~/.zshrc
[ $abroad -eq 1 ] && return [ $abroad -eq 1 ] && return
cp $scriptdir/files/zsh/80-proxy.zsh ~/.oh-my-zsh/custom/ cp $scriptdir/files/zsh/80-proxy.zsh ~/.oh-my-zsh/custom/

View File

@ -1,7 +1,5 @@
__zsh_clash_env_unset __zsh_clash_env_unset
__zsh_load_iterm2_shell_integration
# HOST="VM-ubuntu" # HOST="VM-ubuntu"
# ZSH_THEME="robbyrussell" # ZSH_THEME="robbyrussell"

View File

@ -0,0 +1 @@
__zsh_load_iterm2_shell_integration