Skip to content

Instantly share code, notes, and snippets.

@audacioustux
Forked from yovko/ohmyzsh.md
Last active January 6, 2021 07:52
Show Gist options
  • Save audacioustux/ff74515fcf00f9c6f6e1eb8e33576634 to your computer and use it in GitHub Desktop.
Save audacioustux/ff74515fcf00f9c6f6e1eb8e33576634 to your computer and use it in GitHub Desktop.
ZSH (using Oh My ZSH) on Manjaro Linux

ZSH (using Oh My ZSH) on Manjaro Linux

0. If ZSH is not already installed on your Manjaro system you can do it with the command:

sudo pacman -Syu zsh

1. Install Oh My ZSH

sudo pacman -S yay; yay oh-my-zsh-git

2. Installation of two important plugins I can't live without

sudo pacman -S zsh-syntax-highlighting; sudo ln -s /usr/share/zsh/plugins/zsh-syntax-highlighting /usr/share/oh-my-zsh/plugins

and

sudo pacman -S zsh-autosuggestions; sudo ln -s /usr/share/zsh/plugins/zsh-autosuggestions /usr/share/oh-my-zsh/plugins

3. Configuring zsh

Modify the ~./zshrc config file editting plugins section like this:

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

Change the theme to agnoster:

ZSH_THEME="agnoster"

4. Logout/logon or apply the changes with:

source ~/.zshrc

5. Make zsh default if you haven't already:

chsh -s $(which zsh)

6. Enjoy!

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