feat(zsh): append managed zshrc suffix
This commit is contained in:
parent
5c60cd6bc4
commit
6745277d27
@ -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/
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
1
files/zsh/zshrc-suffix.zsh
Normal file
1
files/zsh/zshrc-suffix.zsh
Normal file
@ -0,0 +1 @@
|
|||||||
|
__zsh_load_iterm2_shell_integration
|
||||||
Loading…
Reference in New Issue
Block a user