Skip to content

Instantly share code, notes, and snippets.

@x3ro
Created October 17, 2012 23:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save x3ro/3908985 to your computer and use it in GitHub Desktop.
Save x3ro/3908985 to your computer and use it in GitHub Desktop.
# A little modification to Wynn Netherland's (http://wynnnetherland.com/journal/a-stylesheet-author-s-guide-to-terminal-colors)
# "git n" alias which allows one to specify a subdirectory.
[alias]
n = !"f() { git ls-files $1 | xargs notes | awk -F: '{ print $1,$2; print $3,$4; print $5}' | grcat conf.notes | less -r; }; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment