Added new client_script - Axcient.
authorAndrew DeFaria <adefaria@axcient.com>
Tue, 13 Aug 2013 18:57:21 +0000 (11:57 -0700)
committerAndrew DeFaria <adefaria@axcient.com>
Tue, 13 Aug 2013 18:57:21 +0000 (11:57 -0700)
rc/client_scripts/Axcient [new file with mode: 0755]

diff --git a/rc/client_scripts/Axcient b/rc/client_scripts/Axcient
new file mode 100755 (executable)
index 0000000..9d80ec2
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/bash
+################################################################################
+#
+# File:         $RCSfile: Axcient,v $
+# Revision:    $Revision: $
+# Description: Client specific start up for Axcient
+# Author:       Andrew@DeFaria.com
+# Created:     Tue Aug 13 11:49:46 PDT 2013
+# Modified:     $Date: $
+# Language:     bash
+#
+# (c) Copyright 2013, Andrew@DeFaria.com, all rights reserved.
+#
+################################################################################
+function git () {
+  # Need to reset title since we put the branch name in the titlebar
+  git=$(which git)
+
+  if [ "$1" = "checkout" ]; then
+    $git $@
+    set_title
+  else
+    $git $@
+  fi
+} # git