Git info in your ZSH Prompt
briancarper.net
Git info in your ZSH Prompt
1–10 of 27 posts
Re: Git info in your ZSH Prompt
#2Re: Git info in your ZSH Prompt
#3I have a bunch of abbreviations for common git commands, though, so I guess it balances out.
Re: Git info in your ZSH Prompt
#4Re: Git info in your ZSH Prompt
#5Wow, am I the only person who prefers a shell prompt of just "$ "? I have a bunch of abbreviations for common git commands, though, so I guess it balances out.
Re: Git info in your ZSH Prompt
#6It's implemented in bash but I use it with almost no modification with the Korn shell.
Re: Git info in your ZSH Prompt
#7Note also that there's a more feature complete version that accomplishes the same tasks in the contrib directory of git ( http://git.kernel.org/?p=git/git.git;a=blob;f=contrib/comple... ). It's implemented in bash but I use it with almost no modification with the Korn shell.
Recently ZSH support has been added to git-completion.bash, but it's still only in the "next" branch of git: http://git.kernel.org/?p=git/git.git;a=blob_plain;f=contrib/...
Re: Git info in your ZSH Prompt
#8http://github.com/robbyrussell/oh-my-zsh
Has all sorts of themes, and most have git status.
Re: Git info in your ZSH Prompt
#9It doesn't give you info about whether you have staged files (but maybe it should). But it gives you a bunch of other neat stuff, like whether you're in a git-rebase or git-am operation
Re: Git info in your ZSH Prompt
#10There are a ton of these out there nowadays. A lot of them are OK, but I use: http://github.com/olivierverdier/zsh-git-prompt