Skip to content

jsundqvist/bastard.zsh-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

bastard.zsh-theme

Modified version of gitster theme for ZIM.

Installation

  1. Install Zsh (Debian)
$ sudo apt update && sudo apt install git curl zsh -y
  1. Install ZIM
$ curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
$ zsh # restart
  1. Install bastard.zsh-theme
$ echo 'zmodule https://github.com/jsundqvist/bastard.zsh-theme -n bastard' >> $HOME/.zimrc
$ zimfw install
$ zsh # restart again

Awesome Dockerfile

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"]

Changes from gitster

  1. Use full pwd instead of short_pwd
  2. Verbose git-info will show repo as dirty on untracked files.
  3. Red dirty instead of yellow.
  4. Symbols for ahead, behind, diverged, bisect, merge, rebase and cherry-pick.
  5. Yellow repo.
  6. Cyan branch if not master or main.
  7. Timestamp in RPROMPT

Pretty picture

Gnome

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages