Skip to content

Latest commit

 

History

History
92 lines (60 loc) · 1.51 KB

zsh_install.md

File metadata and controls

92 lines (60 loc) · 1.51 KB
id aliases tags
zsh_install

zsh

install zsh with dependencies

sudo apt install zsh zsh-antigen zsh-doc zsh-syntax-highlighting zsh-autosuggestions

set zsh as default shell

chsh -s /usr/bin/zsh

and don't forget to restart your gnome session to apply changes

on first start press 2 to populate ~/.zshrc with default recommended configuration

install oh-my-zsh dependencies

sudo apt install git curl

install oh-my-zsh

using https://ohmyz.sh/#install install oh-my-zsh

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

choose theme

omz theme list
omz theme use theme
omz theme set theme

edit file ~/.zshrc to set defautl theme

gedit ~/.zshrc

edit line ZSH_THEME="robbyrussell"

set to desirable theme: michelebologna

more themes here https://github.com/ohmyzsh/ohmyzsh/wiki/Themes

add to the end of file:

source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh

or just run script

sed -i.bak s/ZSH_THEME=".*"/ZSH_THEME=\"michelebologna\"/ ~/.zshrc

>>~/.zshrc<<_EOF_
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
_EOF_

install nerd fonts

using font-manager

# install font mamanger
sudo apt install font-manager

download nerd fonts Jetbrains Mono from https://www.nerdfonts.com/font-downloads

unpack somewhere

install fonts with font-manager

set defualt font for teminal JetBrainsMonoNL Nerd Font Mono