/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
############################################################
############################################################
read -t 5 -p "按下任意键继续,如需退出,请按Ctrl C,倒计时5秒" user_command
if command -v brew > /dev/null 2>&1; then
echo -e '\n您的Mac已经安装了Homebrew,即将为您安装列表中的软件包🍻 \n'
echo -e '\n您的Mac OS尚未安装Homebrew,正准备为您安装🍻 \n'
brew install font-iosevka --cask
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
echo -e "安装 zsh-autosuggestions 插件"
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
echo -e "安装 zsh-syntax-highlighting 插件"
git clone https://github.com/zsh-users/zsh-syntax-highlighting $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git clone https://github.com/dracula/zsh.git $ZSH_CUSTOM/themes/dracula
ln -s $ZSH_CUSTOM/themes/dracula/dracula.zsh-theme $OH_MY_ZSH/themes/dracula.zsh-theme
echo -e "切换默认 shell 为 zsh"
############################################################
############################################################
for app in ${brew_cask_app_list[@]}; do
for app in ${brew_cli_app_list[@]}; do