fix: unattended first install on mac
This commit is contained in:
@@ -19,7 +19,8 @@ zsh --version
|
||||
# install oh-my-zsh
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
if [ ! -d "$ZSH" ]; then
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
# https://github.com/ohmyzsh/ohmyzsh#unattended-install
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
|
||||
fi
|
||||
|
||||
# install zsh-syntax-highlighting
|
||||
@@ -28,7 +29,7 @@ if [ ! -d "$ZSH_SYNTAX_HIGHLIGHTING" ]; then
|
||||
git clone -q https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_SYNTAX_HIGHLIGHTING
|
||||
fi
|
||||
|
||||
#install zsh-autosuggestions
|
||||
# install zsh-autosuggestions
|
||||
export ZSH_AUTOSUGGESTIONS="$ZSH/custom/plugins/zsh-autosuggestions"
|
||||
if [ ! -d "$ZSH_AUTOSUGGESTIONS" ]; then
|
||||
git clone -q https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_AUTOSUGGESTIONS
|
||||
|
||||
Reference in New Issue
Block a user