add RUNZSH=no CHSH=no to avoid on-my-zsh launch zsh

This commit is contained in:
Yingjie Wang 2024-02-26 13:12:31 -05:00
parent f69a216de9
commit d69abe1226

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# 安装 oh-my-zsh # 安装 oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" RUNZSH=no CHSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# 安装 zsh-autosuggestions # 安装 zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions