Zsh Init
Zsh Init

Zsh Init

Creator
Created
Created
2019 Nov 5 3:14
Editor
Edited
Edited
2024 Jun 12 6:17
Refs
Refs

debian

sudo apt install zsh -y sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k wget https://gist.githubusercontent.com/seonglae/fbb241355d747f2a75e36e9e6ba61166/raw/.zshrc -O ~/.zshrc exit
 
 

Mac

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k brew install wget wget https://gist.githubusercontent.com/seonglae/fbb241355d747f2a75e36e9e6ba61166/raw/.zshrc -O ~/.zshrc zsh
 
 

redhat

sudo yum install zsh git wget -y sudo chsh -s /usr/bin/zsh exit sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k wget https://gist.githubusercontent.com/seonglae/fbb241355d747f2a75e36e9e6ba61166/raw/.zshrc -O ~/.zshrc exit sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)"
 
 

add Substring plugin

git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search # open zshrc # add history-substring-search to plugin source ~/.zshrc # press ctrl + r
 
 

WSL

chsh -s /bin/zsh
 
 

windows (need to change zsh.exe change - remove version number)

 
 
 

Recommendations