Skip to content

Instantly share code, notes, and snippets.

@jodosha
Created April 11, 2012 15:41
Show Gist options
  • Save jodosha/2360113 to your computer and use it in GitHub Desktop.
Save jodosha/2360113 to your computer and use it in GitHub Desktop.
Except of a bash script of mine to alias start commands from software I install with Homebrew
#!/bin/bash
case "$1" in
'postgres')
postgres -D /usr/local/var/postgres
;;
'elasticsearch')
elasticsearch -f -D es.config=/usr/local/Cellar/elasticsearch/0.19.1/config/elasticsearch.yml
;;
esac
# usage:
# run elasticsearch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment