A minimal zsh theme written in shell
- 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
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
-
Install dependencies:
- We use
exa
as a modern replacement for defaultls
command. See installation here: exa. - If you don't want to use it. You can remove all aliases related to
exa
at the end ofaliases.zsh
with tag#tree search
- We use
-
Setup this configuration into
~/.config/zsh
git clone git@github.com:cpea2506/zcraft.git ~/.config/zsh
-
Export
ZDOTDIR
and execute~/config/.zshrc
in~/.zshrc
echo "export ZDOTDIR=$HOME/.config/zsh\nsource $HOME/.config/zsh/.zshrc" >> ~/.zshrc
-
Exit zsh and enjoy your new look.