zsh
Timeline
2025-10-20
init
Note: FiraCode Nerd Font is used in WSL.
zsh Installation
1 | sudo pacman -Sy zsh |
Configuration
Migrate from bashrc
Copy your previous .bashrc configuration to .zshrc:
1 | alias grep='grep --color=auto' |
Theme
1 | git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k |
Set in ~/.zshrc:
1 | ZSH_THEME="powerlevel10k/powerlevel10k" |
Then:
1 | source ~/.zshrc |
Follow the prompts to complete setup.
Plugins
zsh-autosuggestions
1 | git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions |
zsh-syntax-highlighting
1 | git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting |
Set in ~/.zshrc:
1 | plugins=(git zsh-autosuggestions zsh-syntax-highlighting z extract web-search) |
Then:
1 | source ~/.zshrc |
Result
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
Comments

