Skip to content

cpea2506/zcraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 git@github.com: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.

About

A minimal zsh theme

Resources

License

Stars

Watchers

Forks

Languages