ZSH OH-MY-ZSH
This is my configuration for the zsh
Installation
install zsh
apt install zsh
install the framework oh-my-zsh
| Method | Command |
|---|---|
| curl | sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
| wget | sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
| fetch | sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
the plugin autosuggestions
-
install
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions -
add the plugin in the
.zshrcfile:plugins=(git zsh-autosuggestions)
the plugin zsh-syntax-highlighting
-
install
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting -
add the plugin in the
.zshrcfile:plugins=(git zsh-syntax-highlighting)
the theme powerlevel10k
-
install powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k -
add the theme in the
.zshrcfile:ZSH_THEME="powerlevel10k/powerlevel10k"
Reload Zsh
exec zsh
Delete oh-my-gosh
uninstall_oh_my_zsh