<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,7 +1,7 @@
 #! /bin/zsh -f
 
 alias_exists tail inotail
-alias_exists bandwidth 's bind localhost' bing
+alias_exists bandwidth 's bing localhost' bing
 alias_exists top htop
 
 alias activeoptions='egrep -v &quot;#|^ *$&quot;'
@@ -60,4 +60,6 @@ alias gl='git pull'
 alias gp='git push'
 alias gst='git status'
 
-alias ls=&quot;ls $LS_OPTIONS&quot;
\ No newline at end of file
+alias hc=&quot;hg commit -m&quot;
+
+alias ls=&quot;ls $LS_OPTIONS&quot;</diff>
      <filename>.zsh/aliases</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,11 @@
 #! /bin/zsh -f
 
 function zsh_prompt {}
+function hg_prompt {}
 
 function precmd {
   vcs_info
+  hg_prompt
   zsh_prompt
 }
 
@@ -13,13 +15,13 @@ function chpwd {
 	sun-cmd) print -Pn &quot;\e]l%~\e\\&quot;
 	  ;;
 	*xterm*|rxvt|(dt|k|E|e)term|eterm-color) print -Pn &quot;\e]2;%~ | %M\a&quot;
-;;
-esac
+      ;;
+  esac
 }
 
 
 function qwhich {
-    result=`which $@`
+    result=`which $@ 2&gt; /dev/null`
     [[ $? == 0 ]] &amp;&amp; echo $result
 }
 
@@ -33,7 +35,7 @@ function alias_exists {
   fi
 }
 
-function service { sudo $RCDIR$1 $2; }
+#function service { sudo $RCDIR$1 $2; }
 function psg { ps aux | grep &quot;[${1[1]}]${1[2,-1]}&quot;; }
 
 function status {
@@ -45,3 +47,18 @@ function status {
 	hg status
   fi
 }
+
+function chromeapp {
+  google-chrome --enable-user-scripts --enable-extensions --bookmark-menu --app=&quot;$*&quot; &amp;
+}
+
+function gmail      {chromeapp &quot;http://mail.google.com/a/kudria.net&quot; }
+function greader    {chromeapp &quot;http://google.com/reader&quot; }
+function gcal       {chromeapp &quot;http://calendar.google.com/a/kudria.net&quot; }
+function gwave      {chromeapp &quot;http://wave.google.com/wave&quot; }
+function ganalytics {chromeapp &quot;http://analytics.google.com&quot; }
+function rmilk      {chromeapp &quot;http://rememberthemilk.com&quot; }
+function tumblrdash {chromeapp &quot;http://tumblr.com/dashboard&quot; }
+function twitter    {chromeapp &quot;http://twitter.com&quot; }
+function simplenote {chromeapp &quot;http://simple-note.appspot.com&quot; }
+#function           {chromeapp &quot;http://&quot; }
\ No newline at end of file</diff>
      <filename>.zsh/functions</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,5 @@
 #! /bin/zsh -f
 
-colors
-
 HASHSTRING=`hostname`
 
 if [[ $DISTRO = &quot;CentOS&quot; ]]; then
@@ -9,7 +7,7 @@ if [[ $DISTRO = &quot;CentOS&quot; ]]; then
 fi
 
 HOSTCOLORCODE=255
-`qwhich hosts.rb` &amp;&amp; HOSTCOLORCODE=$(hosts.rb -d $HASHSTRING)
+`qwhich hosts.rb &gt; /dev/null` &amp;&amp; HOSTCOLORCODE=$(hosts.rb -l $HASHSTRING)
 
 [ $TERM = 'eterm-color' ] &amp;&amp; HOSTCOLORCODE=34
 
@@ -17,17 +15,25 @@ ESCAPE=$'%{\e[%}'
 
 HOSTCOLORESCAPE=$'%{'$ESCAPE'38;5;'$HOSTCOLORCODE$'m%}'
 
+zstyle ':vcs_info:*' check-for-changes true
+zstyle ':vcs_info:*' get-revision true
+
 zstyle ':vcs_info:*' unstagedstr '*'
 zstyle ':vcs_info:*' stagedstr '-'
-zstyle ':vcs_info:*' actionformats '%c%u%b|%a'
-zstyle ':vcs_info:*' formats '%c%u%b'
-zstyle ':vcs_info:*' branchformat '%b:%r'
+zstyle ':vcs_info:*' actionformats '%b%c%u|%a'
+zstyle ':vcs_info:*' formats '%b%c%u'
+zstyle ':vcs_info:*' branchformat '%b'
 
-zstyle ':vcs_info:*' enable git svn bzr hg
+zstyle ':vcs_info:*' enable svn bzr hg git
 
 colors
 precmd
 
+function hg_prompt() {
+    local HG_PROMPT_FORMAT='{:{node|short}}{ {status|modified|unknown}}{update}{ &gt;{incoming|count}}{ {outgoing|count}&gt;}'
+    export HG_PROMPT=&quot;`hg prompt $HG_PROMPT_FORMAT 2&gt; /dev/null`&quot;
+}
+
 function zsh_prompt()
 {
         local N=$'%{'$ESCAPE'0m%}'    # unsets color to term's fg color
@@ -39,9 +45,9 @@ function zsh_prompt()
 
         local D=&quot;${UC}-${N}&quot;
 
-        [ $UID -eq &quot;0&quot; ] &amp;&amp; O=&quot;${UC}[${N}&quot;
-        [ $UID -eq &quot;0&quot; ] &amp;&amp; C=&quot;${UC}]${N}&quot;
-        [ $UID -eq &quot;0&quot; ] &amp;&amp; D=&quot;${UC}-${N}&quot;
+        [[ $UID -eq &quot;0&quot; ]] &amp;&amp; O=&quot;${UC}[${N}&quot;
+        [[ $UID -eq &quot;0&quot; ]] &amp;&amp; C=&quot;${UC}]${N}&quot;
+        [[ $UID -eq &quot;0&quot; ]] &amp;&amp; D=&quot;${UC}-${N}&quot;
 
 
         local HO=$HOSTCOLORESCAPE
@@ -51,7 +57,7 @@ function zsh_prompt()
 
         export PROMPT=&quot;
 ${UC}${PRETTY_WD}${N}: &quot;
-        export RPROMPT=&quot;${UC}%n${N}@${UC}%m${N} %(0?,,${UC}%?!${N} )${UC}${vcs_info_msg_0_}${N}&quot;
+        export RPROMPT=&quot;${UC}%n${N}@${UC}%m${N} %(0?,,${UC}%?!${N} )${UC}${vcs_info_msg_0_}${HG_PROMPT}${N}&quot;
         export PS2=&quot;${D}${O}&quot;
 }
 </diff>
      <filename>.zsh/prompt</filename>
    </modified>
    <modified>
      <diff>@@ -19,4 +19,5 @@ bindkey '^i' expand-or-complete-prefix
 bindkey &quot;^[[Z&quot; reverse-menu-complete
 bindkey &quot;^[&quot; send-break
 
-bindkey &quot;^[e&quot; backward-kill-word # 
\ No newline at end of file
+bindkey &quot;^[e&quot; backward-kill-word
+bindkey &quot;^[w&quot; backward-kill-word</diff>
      <filename>.zsh/zle</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>50efc68b7ea8ea7657c606d7f5b95c43485778ee</id>
    </parent>
  </parents>
  <author>
    <name>Benjamin Kudria</name>
    <email>ben@kudria.net</email>
  </author>
  <url>http://github.com/bkudria/dotfiles/commit/99532adf5188122f5ea83aa216546689a978dccd</url>
  <id>99532adf5188122f5ea83aa216546689a978dccd</id>
  <committed-date>2009-10-28T14:22:02-07:00</committed-date>
  <authored-date>2009-10-28T14:22:02-07:00</authored-date>
  <message>zsh changes - prompt, qwhich, aliases, etc</message>
  <tree>819f4f2249893260d24dfceeec248301e612502b</tree>
  <committer>
    <name>Benjamin Kudria</name>
    <email>ben@kudria.net</email>
  </committer>
</commit>
