Skip to content

Instantly share code, notes, and snippets.

@kuznero
Created November 8, 2019 15:24
Show Gist options
  • Save kuznero/a33c83d10d5dfc395470d0f6bd554ed1 to your computer and use it in GitHub Desktop.
Save kuznero/a33c83d10d5dfc395470d0f6bd554ed1 to your computer and use it in GitHub Desktop.
Install zsh on Ubuntu 18.04

Setup Zsh with goodies

Oh my zsh

Install with curl:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enable plugins (zsh-autosuggestions & zsh-syntax-highlighting)

Download zsh-autosuggestions:

git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions

Download zsh-syntax-highlighting:

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

In ~/.zshrc change plugins to add zsh-autosuggestions zsh-syntax-highlighting to look something like this:

plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

Reopen terminal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment