3 ms·
Funny, I wrote this .bash_profile script (http://gist.github.com/168286 http://gist.github.com/168286) just the other day because I wanted... 1) Minimalist colo
by oldgregg 17y ago
Funny, I wrote this .bash_profile script (http://gist.github.com/168286 http://gist.github.com/168286) just the other day because I wanted...
1) Minimalist colors
2) Stripped down CLEAN prompt
3) For GIT folders it will display the current branch.
It was based on this which I thought was too ugly: http://www.simplisticcomplexity.com/2008/03/13/show-your-git-branch-name-in-your-prompt/ http://www.simplisticcomplexity.com/2008/03/13/show-your-git...
Also, if you use git+github+capistrano, I wrote a bash script where you type "tap" and it will add all new files, commit, push to github. If you type "tap /d" it will also cap deploy it to the server and reload in nginx passenger. For small projects I'll push something and then have to make a small change. Now I can just edit the file in textmate and can add-commit-push-deploy with one command.
http://gist.github.com/168589 http://gist.github.com/168589