Created
September 11, 2018 16:31
-
-
Save lucarin91/4e5a7a3b15841a754cc424b464518c14 to your computer and use it in GitHub Desktop.
Install oh-my-zsh with fish-like plugins.
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/sh | |
set -ex | |
## install oh-my-zsh ## | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
## install fish-like plugins ## | |
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 | |
sed -i '/plugins=($/a zsh-autosuggestions history-substring-search zsh-syntax-highlighting' ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment