Last active
January 25, 2020 17:19
-
-
Save reijovosu/5a5c2bbf2e40c96baab94e6a0a91c80e to your computer and use it in GitHub Desktop.
Install zsh
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
# Start by running: | |
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/reijovosu/5a5c2bbf2e40c96baab94e6a0a91c80e/raw/7665456f94fa598301eb30e38a4ad0e67d41c816/install_zsh1.sh)" | |
sudo apt-get update && sudo apt-get upgrade | |
sudo apt-get install git zsh | |
chsh -s /bin/zsh | |
echo "Now reboot and run sh -c \"$(curl -fsSL https://gist.githubusercontent.com/reijovosu/5a5c2bbf2e40c96baab94e6a0a91c80e/raw/7665456f94fa598301eb30e38a4ad0e67d41c816/install_zsh2.sh)\"" |
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
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
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 | |
echo "" | |
echo "" | |
echo "-------------------------------------------------------------------------" | |
echo "" | |
echo "from ~/.zshrc uncomment second row:" | |
echo "export PATH=$HOME/bin:/usr/local/bin:$PATH" | |
echo "" | |
echo "plugins=(git) replace with" | |
echo "plugins=(git zsh-completions zsh-autosuggestions zsh-syntax-highlighting)" | |
echo "autoload -U compinit && compinit" | |
echo "" | |
echo "-------------------------------------------------------------------------" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment