Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.28 KB

README.md

File metadata and controls

39 lines (30 loc) · 1.28 KB
Screen Shot 2021-12-15 at 17 06 47

Introduction

A minimal zsh theme written in shell

Features

  • Display if there is any error command
  • Display change for each git stage
  • Show time for each command's execution
  • Show what language you are working on

Option

Put every options in ~/.config/zsh/exports.zsh

  • You can display if your current git branch is ahead or behind remote

    # default
    export ZCRAFT_GIT_SHOW_AHEAD_BEHIND=true

Installation

  1. Install dependencies:

    • We use exa as a modern replacement for default ls command. See installation here: exa.
    • If you don't want to use it. You can remove all aliases related to exa at the end of aliases.zsh with tag #tree search
  2. Setup this configuration into ~/.config/zsh

    git clone [email protected]:cpea2506/zcraft.git ~/.config/zsh
  3. Export ZDOTDIR and execute ~/config/.zshrc in ~/.zshrc

    echo "export ZDOTDIR=$HOME/.config/zsh\nsource $HOME/.config/zsh/.zshrc" >> ~/.zshrc
  4. Exit zsh and enjoy your new look.