Created
March 15, 2020 14:50
-
-
Save pomo-mondreganto/993aabcb4d2e5982fdc509bb5bbe933c to your computer and use it in GitHub Desktop.
Script for ZSH + Oh My ZSH installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt install -y git zsh curl tmux tree vim | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
sed -ier 's/ZSH_THEME=\"\w*\"/ZSH_THEME=\"agnoster\"/g' ~/.zshrc | |
sed -ier 's/plugins=(git)/plugins=(git tmux zsh-completions zsh-autosuggestions zsh-syntax-highlighting history pip docker)/g' ~/.zshrc | |
echo 'alias zshconfig="vim ~/.zshrc"' >> ~/.zshrc | |
echo "export EDITOR='vim'" >> ~/.zshrc | |
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-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment