Last active
June 19, 2023 17:13
-
-
Save geblanco/2d8fde1326f85f7866af22da66560f90 to your computer and use it in GitHub Desktop.
Minimal setup to get zsh and companions working. Installer for fresh servers...
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
#/bin/bash | |
# Install: | |
# - zsh (requires sudo) | |
# - oh-my-zsh | |
# - zsh-autosuggestions plugin | |
# - conda-zsh-completion plugin | |
# - custom themes | |
# - custom zshrc and styles | |
sudo apt --yes --force-yes install zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
git clone https://github.com/esc/conda-zsh-completion ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/conda-zsh-completion | |
git clone https://github.com/geblanco/mod-zsh-themes /tmp/mod-zsh-themes | |
cd /tmp/mod-zsh-themes | |
make install PREFIX=${ZSH_CUSTOM:=~/.oh-my-zsh} | |
cd - | |
rm -rf /tmp/mod-zsh-themes | |
curl https://raw.githubusercontent.com/geblanco/dot_files/desktop/.zshrc -o ~/.zshrc | |
mkdir -p ~/.config/zshrc/ | |
curl https://raw.githubusercontent.com/geblanco/dot_files/desktop/.config/zshrc/zstyles -o ~/.config/zshrc/zstyles |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment