Skip to content

Latest commit

 

History

History
executable file
·
53 lines (38 loc) · 973 Bytes

README.md

File metadata and controls

executable file
·
53 lines (38 loc) · 973 Bytes

dyzsh theme

Based on astro theme.

Screenshots

example

Instuctions

    1. When an error is executed.
    1. Prompt turns red.
    1. Show ✗ when working tree not clean.
    1. Show ● when working tree clean(after commit).
    1. 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