Skip to content

01infinity/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Will try to extract/rewrite stuff to be handy for windows users

mkdir ~/.dotfiles
mkdir ~/.dotfiles/source
curl -o ~/.dotfiles/source/command_prompt.sh https://raw.github.com/cowboy/dotfiles/master/source/50_prompt.sh
echo "source ~/.dotfiles/source/command_prompt.sh" >> ~/.bashrc
source ~/.bashrc

Prompt

Cowboy thinks his bash prompt is awesome, and I agree. It shows git and svn repo status, a timestamp, error exit codes, and even changes color depending on how you've logged in.

Git repos display as [branch:flags] where flags are:

? untracked files
! changed (but unstaged) files
+ staged files

SVN repos display as [rev1:rev2] where rev1 and rev2 are:

rev1 last changed revision
rev2 revision

Check it out:

My awesome bash prompt

License

Copyright (c) 2013 "Cowboy" Ben Alman
Licensed under the MIT license.
http://benalman.com/about/license/

About

My OS X / Ubuntu dotfiles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 79.5%
  • Perl 12.4%
  • Ruby 5.0%
  • Python 2.4%
  • CSS 0.7%