daotoyi / dyzsh-zsh-theme

Customize ZSH theme.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Customize ZSH theme.

License:MIT License


Languages

Language:Shell 100.0%