1
1
Fork 0
This commit is contained in:
david 2018-05-13 20:10:13 +02:00
parent c0c26802e5
commit c17582a528
1 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh
message i "oh-my-zsh installed"
# set $ZSH_THEME="" in .zshrc
cat $HOME/.zshrc | sed "s/^ZSH_THEME=\"robbyrussell\"/ZSH_THEME=\"\"/g" | tee $HOME/.zshrc
cat $HOME/.zshrc | sed "s/^ZSH_THEME=\"robbyrussell\"/ZSH_THEME=\"\"/g" > $HOME/.zshrc
message i "oh-my-zsh theme deactivated"
# clone plugins
@ -114,7 +114,7 @@ message i "all plugins cloned"
# set $plugins in .zshrc
plugins="git zsh-autosuggestions autoupdate sysadmin-util zsh-syntax-highlighting zsh-david async pure"
cat $HOME/.zshrc | sed "/plugins=(/,/)/d; s/source \$ZSH\/oh-my-zsh.sh/plugins=($plugins);; source \$ZSH\/oh-my-zsh.sh/g" | sed $'s/;; /\\\n/g' | tee $HOME/.zshrc
cat $HOME/.zshrc | sed "/plugins=(/,/)/d; s/source \$ZSH\/oh-my-zsh.sh/plugins=($plugins);; source \$ZSH\/oh-my-zsh.sh/g" | sed $'s/;; /\\\n/g' > $HOME/.zshrc
message i "activated zsh plugins [$plugins]"
message d "Installer finished."