Skip to content

Instantly share code, notes, and snippets.

@dudushy
Last active June 23, 2026 13:19
Show Gist options
  • Select an option

  • Save dudushy/9cc9d969a92e3de5b3fdc5b54bc82e10 to your computer and use it in GitHub Desktop.

Select an option

Save dudushy/9cc9d969a92e3de5b3fdc5b54bc82e10 to your computer and use it in GitHub Desktop.
Install and setup OH-MY-ZSH

Make sure everything is up to date

sudo apt update && sudo apt upgrade -y

Install ZSH

sudo apt install zsh -y

Install OH-MY-ZSH

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Do you want to change your default shell to zsh? [Y/n] Press ENTER

Clone zsh-autosuggestions

git clone https://github.com/zsh-users/zsh-autosuggestions \
  ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Clone zsh-syntax-highlighting

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git \
  ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

Clone fast-syntax-highlighting

git clone https://github.com/z-shell/F-Sy-H.git \
  ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/F-Sy-H

Clone zsh-autocomplete

git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git \
  ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autocomplete

Change the theme and plugins list

  1. Open .zshrc

    nano ~/.zshrc
  2. Change theme to jonathan

    ZSH_THEME="jonathan"
  3. Update plugins list

    plugins=(git zsh-autosuggestions zsh-syntax-highlighting F-Sy-H zsh-autocomplete)

    (recommended)

    plugins=(git zsh-autosuggestions zsh-syntax-highlighting F-Sy-H zsh-autocomplete branch colorize composer encode64 git-auto-fetch git-prompt ionic gradle npm nvm pip pm2 vscode history jsontools dirhistory sdk timer gh git-extras git-lfs gitfast)
  4. Write and Save

    CTRL+O
    ENTER
    CTRL+X
  5. Source

    source ~/.zshrc

References

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