jimeh / git-aware-prompt

Display current Git branch name in your terminal prompt when in a Git working directory.
Creative Commons Zero v1.0 Universal
2.16k stars 340 forks source link

Add branch dirty state to the prompt #3

Closed mikesten closed 12 years ago

mikesten commented 12 years ago

Made a couple of changes:

I rely on having the branch's dirty state in my prompt: http://bytebaker.com/2012/01/09/show-git-information-in-your-prompt/

I also really like the idea of a .bash directory to store my shell scripts in but want to use it for more than just git-aware-prompt.

jimeh commented 12 years ago

Looks good to me. I switched to ZSH and oh-my-zsh almost a year ago, so I haven't used this project for a while. So thanks for your contributions :)

Also, you like the ~/.bash concept, have a look at my dotfiles, which takes it quite far (but uses ~/.dotfiles and a install.sh script to setup symlinks).

mikesten commented 12 years ago

Ah, there's loads of good stuff in dotfiles! Poking around now.

On 16 August 2012 16:10, Jim Myhrberg notifications@github.com wrote:

Looks good to me. I switched to ZSH and oh-my-zsh almost a year ago, so I haven't used this project for a while. So thanks for your contributions :)

Also, you like the ~/.bash concept, have a look at my dotfileshttps://github.com/jimeh/dotfiles, which takes it quite far (but uses ~/.dotfiles and a install.sh script to setup symlinks).

— Reply to this email directly or view it on GitHubhttps://github.com/jimeh/git-aware-prompt/pull/3#issuecomment-7788265.

Mike Stenhouse Designer, programmer and maker of things. @mikesten mikesten.com