Added Homebrew aliases
authorMark Szymanski <mrman208@me.com>
Mon, 6 Jun 2011 01:45:53 +0000 (20:45 -0500)
committerMark Szymanski <mrman208@me.com>
Mon, 6 Jun 2011 01:45:53 +0000 (20:45 -0500)
aliases/homebrew.aliases.bash [new file with mode: 0644]
bash_it.sh

diff --git a/aliases/homebrew.aliases.bash b/aliases/homebrew.aliases.bash
new file mode 100644 (file)
index 0000000..051081d
--- /dev/null
@@ -0,0 +1,24 @@
+# Some aliases for Homebrew
+
+alias bup="brew update && brew upgrade"
+alias bout="brew outdated"
+alias bin="brew install"
+alias brm="brew uninstall"
+alias bls="brew list"
+alias bsr="brew search"
+alias binf="brew info"
+alias bdr="brew doctor"
+
+function brew-help() {
+  echo "Homebrew Alias Usage"
+  echo
+  echo "bup  = brew update && brew upgrade"
+  echo "bout = brew outdated"
+  echo "bin  = brew install"
+  echo "brm  = brew uninstall"
+  echo "bls  = brew list"
+  echo "bsr  = brew search"
+  echo "binf = brew info"
+  echo "bdr  = brew doctor"
+  echo
+}
index 4a9b30d..d63458a 100644 (file)
@@ -73,6 +73,7 @@ function bash-it() {
   echo "  rails-help                  This will list out all the aliases you can use with rails."
   echo "  git-help                    This will list out all the aliases you can use with git."
   echo "  todo-help                   This will list out all the aliases you can use with todo.txt-cli"
+  echo "  brew-help                   This will list out all the aliases you can use with Homebrew"
   echo "  aliases-help                Generic list of aliases."
   echo "  plugins-help                This will list out all the plugins and functions you can use with bash-it"
   echo