This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
# | |
# Bash completion for fabric | |
# | |
function _fab_complete() { | |
local cur | |
if [[ -f "fabfile.py" || -f "f |
#!/bin/bash | |
_opts () { | |
perl -ne ' | |
print if s/^.IP .\\fB\\-/-/ and s/\\(f(P|I|B|R)|)|".*//g; | |
print if s/^.IX Item .\-/-/ and s/"//g; | |
print if s/^.It Fl /-/;' | |
} | |
_man_generic() { |