Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

dark-kitt/zsh-git-plugin

Open more actions menu

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.