A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
| #define let(name,value) const __typeof__ (value) name = value; | |
| #define var(name,value) __typeof__ (value) name = value; | |
| int main(int argc, char *argv[]) { | |
| let(x,3); // const int x = 3; | |
| var(y,5); // int y = 5; | |
| printf("x:%i y:%i",x,y); // -> x:3 y:5 | |
| } |
| #!/usr/bin/env ruby | |
| # Complete rake tasks script for bash | |
| # Save it somewhere and then add | |
| # complete -C path/to/script -o default rake | |
| # to your ~/.bashrc | |
| # Xavier Shay (http://rhnh.net), combining work from | |
| # Francis Hwang ( http://fhwang.net/ ) - http://fhwang.net/rb/rake-complete.rb | |
| # Nicholas Seckar <nseckar@gmail.com> - http://www.webtypes.com/2006/03/31/rake-completion-script-that-handles-namespaces | |
| # Saimon Moore <saimon@webtypes.com> |