Skip to content

ZSH Git integration, to display the current working directory and the current working branch.

License

Notifications You must be signed in to change notification settings

dark-kitt/zsh-git-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ZSH Git Plugin

ZSH Git integration, to display the current working directory and the current working branch.

Use [alt + p] to display the whole working path.

Install

Just copy and paste the snippet in your .zshrc file. This should be located in your $HOME directory.

Or clone this repository in your zsh plugin directory (e.g. $HOME/.zsh). Afterwards, you can add the following line to your .zshrc file.

source $HOME/.zsh/zsh-git-plugin.plugin.zsh

For custom styling:

  • choose your own colors / style at the top
  • add your icons inside the PROMPT string
  • edit the bindkey for your preferred shortcut

Or just rewrite everything and use this script as default.

Have fun!

About

ZSH Git integration, to display the current working directory and the current working branch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages