Commits

Eric Rochester committed f739353

Moved custom plugins into the right directory to get picked up.

Comments (0)

Files changed (7)

     hg clone https://erochest@bitbucket.org/erochest/zsh-custom custom
     ln -s ~/.oh-my-zsh/custom/zshrc ~/.zshrc
     ln -s ~/.oh-my-zsh/custom/err.zsh-theme ~/.oh-my-zsh/themes/
-    ln -s ~/.oh-my-zsh/custom/hg ~/.oh-my-zsh/plugins/hg
-    ln -s ~/.oh-my-zsh/custom/slab ~/.oh-my-zsh/plugins/slab
-    ln -s ~/.oh-my-zsh/custom/todotxt ~/.oh-my-zsh/plugins/todotxt
 
 Hmm. I need to get all this into an install script or Rakefile or something.
 

hg/hg.plugin.zsh

-
-alias vimq='vim $(hg root)/.hg/patches/series'
-
-alias ha='hg add'
-alias har='hg addremove'
-alias hpl='hg pull'
-alias hph='hg push'
-alias hl='hg log'
-alias hdf='hg diff'
-alias hm='hg commit -m'
-alias hma='hg commit --addremove -m'
-alias hcl='hg clone'
-alias hs='hg status'
-

plugins/hg/hg.plugin.zsh

+
+alias vimq='vim $(hg root)/.hg/patches/series'
+
+alias ha='hg add'
+alias har='hg addremove'
+alias hpl='hg pull'
+alias hph='hg push'
+alias hl='hg log'
+alias hdf='hg diff'
+alias hm='hg commit -m'
+alias hma='hg commit --addremove -m'
+alias hcl='hg clone'
+alias hs='hg status'
+

plugins/slab/slab.plugin.zsh

+
+alias sds1="ssh sds-deployer@sds1.itc.virginia.edu"
+alias sds3="ssh sds-deployer@sds3.itc.virginia.edu"
+alias sds4="ssh sds-deployer@sds4.itc.virginia.edu"
+alias sds5="ssh sds-deployer@sds5.itc.virginia.edu"
+alias sds6="ssh sds-deployer@sds6.itc.virginia.edu"
+alias sds7="ssh sds-deployer@sds7.itc.virginia.edu"
+alias sds8="ssh sds-deployer@sds8.itc.virginia.edu"
+
+alias blue="ssh blue.unix.virginia.edu"
+alias utm="ssh utm.lib.virginia.edu"
+alias lat="ssh lat.lib.virginia.edu"
+alias lon="ssh lon.lib.virginia.edu"
+
+alias aleph="ssh aleph.lib.virginia.edu"
+alias omeka="ssh omekadev.lib.virginia.edu"
+alias gisdev="ssh gisdev.lib.virginia.edu"
+alias gis2="ssh gis2.lib.virginia.edu"
+
+alias slice="ssh err8n@67.23.31.99 -p 7822"
+
+hostls() {
+	cat <<EOF
+sds1   => sds-deployer@sds1.itc.virginia.edu
+sds3   => sds-deployer@sds3.itc.virginia.edu
+sds4   => sds-deployer@sds4.itc.virginia.edu
+sds5   => sds-deployer@sds5.itc.virginia.edu
+sds6   => sds-deployer@sds6.itc.virginia.edu
+sds7   => sds-deployer@sds7.itc.virginia.edu
+sds8   => sds-deployer@sds8.itc.virginia.edu
+
+blue   => blue.unix.virginia.edu
+utm    => utm.lib.virginia.edu
+lat    => lat.lib.virginia.edu
+lon    => lon.lib.virginia.edu
+
+aleph  => aleph.lib.virginia.edu
+omeka  => omekadev.lib.virginia.edu
+gisdev => gisdev.lib.virginia.edu
+gis2   => gis2.lib.virginia.edu
+
+slice  => err8n@67.23.31.99
+EOF
+}
+

plugins/todotxt/todotxt.plugin.zsh

+
+function priority-context() {
+	t lsp | grep "$1" | grep '+' | grep -v '^x' | sed -e 's/.*\(+[a-zA-Z0-9]*\).*/\1/' | sort | uniq
+}
+function priority-work-projects() {
+	t lsp | grep '@slab' | grep '+' | grep -v '^x' | sed -e 's/.*\(+[a-zA-Z0-9]*\).*/\1/' | sort | uniq
+}
+
+TODOTXT_AUTO_ARCHIVE=0
+TODOTXT_PRESERVE_LINE_NUMBERS=1
+TODOTXT_DATE_ON_ADD=1
+export TODOTXT_AUTO_ARCHIVE TODOTXT_PRESERVE_LINE_NUMBERS TODOTXT_DATE_ON_ADD
+

slab/slab.plugin.zsh

-
-alias sds1="ssh sds-deployer@sds1.itc.virginia.edu"
-alias sds3="ssh sds-deployer@sds3.itc.virginia.edu"
-alias sds4="ssh sds-deployer@sds4.itc.virginia.edu"
-alias sds5="ssh sds-deployer@sds5.itc.virginia.edu"
-alias sds6="ssh sds-deployer@sds6.itc.virginia.edu"
-alias sds7="ssh sds-deployer@sds7.itc.virginia.edu"
-alias sds8="ssh sds-deployer@sds8.itc.virginia.edu"
-
-alias blue="ssh blue.unix.virginia.edu"
-alias utm="ssh utm.lib.virginia.edu"
-alias lat="ssh lat.lib.virginia.edu"
-alias lon="ssh lon.lib.virginia.edu"
-
-alias aleph="ssh aleph.lib.virginia.edu"
-alias omeka="ssh omekadev.lib.virginia.edu"
-alias gisdev="ssh gisdev.lib.virginia.edu"
-alias gis2="ssh gis2.lib.virginia.edu"
-
-alias slice="ssh err8n@67.23.31.99 -p 7822"
-
-hostls() {
-	cat <<EOF
-sds1   => sds-deployer@sds1.itc.virginia.edu
-sds3   => sds-deployer@sds3.itc.virginia.edu
-sds4   => sds-deployer@sds4.itc.virginia.edu
-sds5   => sds-deployer@sds5.itc.virginia.edu
-sds6   => sds-deployer@sds6.itc.virginia.edu
-sds7   => sds-deployer@sds7.itc.virginia.edu
-sds8   => sds-deployer@sds8.itc.virginia.edu
-
-blue   => blue.unix.virginia.edu
-utm    => utm.lib.virginia.edu
-lat    => lat.lib.virginia.edu
-lon    => lon.lib.virginia.edu
-
-aleph  => aleph.lib.virginia.edu
-omeka  => omekadev.lib.virginia.edu
-gisdev => gisdev.lib.virginia.edu
-gis2   => gis2.lib.virginia.edu
-
-slice  => err8n@67.23.31.99
-EOF
-}
-

todotxt/todotxt.plugin.zsh

-
-function priority-context() {
-	t lsp | grep "$1" | grep '+' | grep -v '^x' | sed -e 's/.*\(+[a-zA-Z0-9]*\).*/\1/' | sort | uniq
-}
-function priority-work-projects() {
-	t lsp | grep '@slab' | grep '+' | grep -v '^x' | sed -e 's/.*\(+[a-zA-Z0-9]*\).*/\1/' | sort | uniq
-}
-
-TODOTXT_AUTO_ARCHIVE=0
-TODOTXT_PRESERVE_LINE_NUMBERS=1
-TODOTXT_DATE_ON_ADD=1
-export TODOTXT_AUTO_ARCHIVE TODOTXT_PRESERVE_LINE_NUMBERS TODOTXT_DATE_ON_ADD
-