Modified version of gitster
theme for ZIM.
- Install Zsh (Debian)
$ sudo apt update && sudo apt install git curl zsh -y
$ curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
$ zsh # restart
- Install bastard.zsh-theme
$ echo 'zmodule https://github.com/jsundqvist/bastard.zsh-theme -n bastard' >> $HOME/.zimrc
$ zimfw install
$ zsh # restart again
FROM bitnami/minideb
RUN install_packages apt-transport-https ca-certificates nano curl wget unzip zip tree git zsh jq -y && \
echo 'set linenumbers' >> ~/.nanorc && \
echo 'set tabsize 4' >> ~/.nanorc && \
git config --global pull.rebase true
SHELL ["zsh", "-ic"]
RUN update-ca-certificates && \
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh && \
echo 'zmodule https://github.com/jsundqvist/bastard.zsh-theme -n bastard' >> $HOME/.zimrc && \
zsh -ic "zimfw install"
CMD ["zsh"]
- Use full
pwd
instead ofshort_pwd
- Verbose
git-info
will show repo as dirty on untracked files. - Red dirty instead of yellow.
- Symbols for
ahead
,behind
,diverged
,bisect
,merge
,rebase
andcherry-pick
. - Yellow repo.
- Cyan branch if not
master
ormain
. - Timestamp in
RPROMPT