Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am imrook on github.
  • I am imrook (https://keybase.io/imrook) on keybase.
  • I have a public key ASDPpc4E0lL3DHGFo2KjfhMJiDcMvrA37tf7_I7_EldoUgo

To claim this, I am signing this object:

@imrook
imrook / gist:57215237aa8f3da39c44e8a183e0156f
Last active January 23, 2017 21:26
Alias `docker compose` to `docker-compose`
docker() {
if [[ $1 == "compose" ]]; then
shift
docker-compose $@
else
`which docker` $@
fi
}
flare:/usr/local/Library/Formula jason$ git diff
diff --git a/Library/Formula/git-annex.rb b/Library/Formula/git-annex.rb
index 9de0164..e320c86 100644
--- a/Library/Formula/git-annex.rb
+++ b/Library/Formula/git-annex.rb
@@ -26,6 +26,7 @@ class GitAnnex < Formula
depends_on "quvi"
def install
+ ENV.prepend_path "PATH", "/usr/local/bin"