Forked from aviralwal/medium - zsh + oh-my-zsh - complete setup
Created
December 13, 2020 17:51
-
-
Save febritecno/8d5d5d6866cb88d089bd7280f2e46408 to your computer and use it in GitHub Desktop.
For medium article - Simple yet awesome zsh+ tmux development environment setup
This file contains 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
# clone repo to get theme file for oh-my-zsh | |
git clone https://github.com/aviralwal/newserversetup.git | |
cd newserversetup | |
#zsh setup | |
sudo apt update | |
sudo apt install -y zsh | |
sudo chsh -s $(which zsh) $(whoami) | |
touch ~/.zshrc | |
echo "#hello" > ~/.zshrc | |
zsh | |
#oh my zsh setup | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" #select option 'y' | |
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 | |
sed -i 's/plugins=(git)/plugins=(git zsh-autosuggestions zsh-syntax-highlighting)/g' ~/.zshrc | |
echo 'export TERM="xterm-256color"' >> ~/.zshrc | |
cp bullet-train.zsh-theme ~/.oh-my-zsh/themes | |
sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="bullet-train"/g' ~/.zshrc | |
source ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment