2019-03-04 08:11:43 +00:00
#!/bin/sh
2019-06-21 05:24:26 +00:00
echo "Installing oh my zsh..."
2019-03-04 08:11:43 +00:00
sh -c " $( wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -) "
2019-06-12 04:38:01 +00:00
echo "Installing custom plugins..."
2019-06-06 03:42:01 +00:00
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-syntax-highlighting.git ${ ZSH_CUSTOM :- ~/.oh-my-zsh/custom } /plugins/zsh-syntax-highlighting
2019-06-12 04:38:01 +00:00
echo "Configuring zsh..."
2019-06-21 05:24:26 +00:00
cat ~/.zshrc | sed 's/plugins=.*/plugins=\(git zsh-autosuggestions zsh-syntax-highlighting\)/g' | sed 's/ZSH_THEME=.*/ZSH_THEME=\"gentoo\"/g' | tee ~/.zshrc > /dev/null