Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
  • 3 commits
  • 4 files changed
  • 1 commit comment
  • 1 contributor
View
39 color/grc.symlink/conf.curl
@@ -0,0 +1,39 @@
+# HTTP header
+regexp=^([A-Z].*)\:\s(.*)$
+colours=default, default, cyan
+count=more
+=====
+# HTTP success
+regexp=^HTTP.*?\s([1-3]\d{2}.*)$
+colours=default, green
+count=more
+=====
+# HTTP error
+regexp=^HTTP.*?\s([4|5]\d{2}.*)$
+colours=default, red
+count=more
+=====
+# JSON attribute
+regexp=(\".*\")\:
+colours=default, blue
+count=more
+=====
+# String value
+regexp=\:\s(\".*\"),?$
+colours=default, yellow, default
+count=more
+=====
+# Number value
+regexp=\:\s(\d+),?$
+colours=default, magenta, default
+count=more
+=====
+# Boolean value
+regexp=\:\s(true|false),?$
+colours=default, bold green
+count=more
+=====
+# Null value
+regexp=\:\s(null),?$
+colours=default, bold red
+count=more
View
55 color/grc.symlink/grc.conf
@@ -0,0 +1,55 @@
+# anything to do with irc
+\b\w+\b.*irc.*
+conf.irclog
+
+# log file
+\b\w+\b.*log\b
+conf.log
+
+# configure command
+(^|[/\w\.]+/)?configure
+conf.configure
+
+# ping command
+(^|[/\w\.]+/)ping6?\s
+conf.ping
+
+# traceroute command
+(^|[/\w\.]+/)traceroute6?\s
+conf.traceroute
+
+# gcc command
+(^|[/\w\.]+/)g?cc\s
+conf.gcc
+
+# make command
+(^|[/\w\.]+/)g?make\s?
+conf.gcc
+
+# netstat command
+(^|[/\w\.]+/)netstat\s?
+conf.netstat
+
+# diff command
+(^|[/\w\.]+/)diff\s?
+conf.diff
+
+# wdiff command
+(^|[/\w\.]+/)wdiff\s?
+conf.wdiff
+
+# last command
+(^|[/\w\.]+/)last\s?
+conf.log
+
+# ldap tools
+(^|[/\w\.]+/)ldap
+conf.ldap
+
+# cvs command
+(^|[/\w\.]+/)cvs\s?
+conf.cvs
+
+# curl command
+(^|[/\w\.]+/)curl\s?
+conf.curl
View
7 git/gitconfig.symlink
@@ -59,4 +59,9 @@
[credential]
helper = osxkeychain
[hub]
- protocol = https
+ protocol = https
+
+[branch]
+ autosetuprebase = always
+
+# vim: st=2:ts=2:noet:ft=gitconfig
View
4 zsh/aliases.zsh
@@ -2,6 +2,7 @@ alias cls='clear'
alias l='ls -la'
alias lastfm='shell-fm'
alias reload!='. ~/.zshrc'
+alias count='wc -l'
# IP addresses
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
@@ -31,3 +32,6 @@ alias hide="defaults write com.apple.Finder AppleShowAllFiles -bool false && kil
# Hide/show all desktop icons (useful when presenting)
alias hidedesktop="defaults write com.apple.finder CreateDesktop -bool false && killall Finder"
alias showdesktop="defaults write com.apple.finder CreateDesktop -bool true && killall Finder"
+
+# color aliases
+alias grcurl="colourify curl -s"

Showing you all comments on commits in this comparison.

@pengwynn
Owner

/cc @adamyonk

Something went wrong with that request. Please try again.