Skip to content

devkcud/git-prompt.zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

git-prompt.zsh

To use it: source into your .zshrc file. And add to your PS1.

For example:

PS1="$(git_prompt) %"

source ${ZDOTDIR:-$HOME/.zsh}/git-prompt.zsh/git-prompt.zsh

Cloning

This sections is just for convenience sake. Just copy a command and paste it into your terminal.

Git (SSH)

git clone git@github.com:devkcud/git-prompt.zsh.git ${ZDOTDIR:-$HOME/.zsh}/git-prompt.zsh

Git (HTTPS)

git clone https://github.com/devkcud/git-prompt.zsh.git ${ZDOTDIR:-$HOME/.zsh}/git-prompt.zsh

GitHub CLI

gh repo clone devkcud/git-prompt.zsh ${ZDOTDIR:-$HOME/.zsh}/git-prompt.zsh

About

Simple Git Prompt for ZSH.

Topics

Resources

Stars

Watchers

Forks

Languages