dyzsh theme
February 25, 2024 · View on GitHub
Based on astro theme.
Screenshots

Instuctions
-
- When an error is executed.
-
- Prompt turns red.
-
- Show ✗ when working tree not clean.
-
- Show ● when working tree clean(after commit).
-
- Show different username.
Install
zsh
apt install zsh
dnf install zsh
pacman -S zsh
chsh -s /bin/zsh
# /etc/passwd: modify /bin/zsh
oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Clone
git clone https://github.com/daotoyi/dyzsh-zsh-theme.git
Config
- Locate the position
cp dyzsh-zsh-theme/dyzsh.zsh-theme ~/.oh-my-zsh/themes
- Set the theme variable
Change the variable ZSH_THEME=dyzsh in ~/.zshrc.
- Reload configuration
source ~/.zshrc