Skip to main content

ZSH OH-MY-ZSH

This is my configuration for the zsh

Installation

install zsh

apt install zsh

install the framework oh-my-zsh

MethodCommand
curlsh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
wgetsh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
fetchsh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

the plugin autosuggestions

  1. install

    git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  2. add the plugin in the .zshrc file:

    plugins=(git zsh-autosuggestions)

the plugin zsh-syntax-highlighting

  1. install

    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
  2. add the plugin in the .zshrc file:

    plugins=(git zsh-syntax-highlighting)

the theme powerlevel10k

  1. install powerlevel10k

    git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
  2. add the theme in the .zshrc file:

    ZSH_THEME="powerlevel10k/powerlevel10k"

Reload Zsh

exec zsh

Delete oh-my-gosh

uninstall_oh_my_zsh