Skip to content

Instantly share code, notes, and snippets.

@jabclab
jabclab / go_shell_helpers.zsh
Created August 12, 2015 13:24
Go shell helpers
# `go watch` - Watch files and run tests on change. Report to terminal and OSX notification.
# `go watchq` - Watch files and run tests on change (without -v). Report to terminal and OSX notification.
# `go cover` - Obtain test coverage and show results in default browser.
#
# dependencies:
# * `fswatch` - https://github.com/emcrisostomo/fswatch
# * `terminal-notifier` - https://github.com/julienXX/terminal-notifier
go() {
case $1 in