-
ZSH
sudo apt install zsh -y
sudo apt-get install powerline fonts-powerline -y
chsh -s /bin/zsh
-
Reboot Terminal Ubuntu
- Type q
-
Install Oh My ZSH
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
-
Reboot Terminal Ubuntu
-
Install ZSH Syntax Highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
-
Access ZSH Auto Suggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
-
Access Spaceship ZSH
git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
-
Open file .zshrc
nano ~/.zshrc
- Change
ZSH_THEME="robbyrussell"
to:ZSH_THEME="spaceship"
- Change
plugins=(git)
to:plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
- Save file and exit (
ctrl+O
andctrl+X
)
- Change
-
Reboot Terminal Ubuntu
Created
April 7, 2022 14:52
-
-
Save RenanMatias/0f533fb5ff78a38504986bfe792ca848 to your computer and use it in GitHub Desktop.
Enabling ZSH on Ubuntu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment