git.fiddlerwoaroof.com
Browse code

Wed Jun 27 13:29:36 CDT 2012

Ed L authored on 27/06/2012 18:29:36
Showing 2 changed files
... ...
@@ -1,5 +1,5 @@
1 1
 " Configuration file for vim
2
-set modelines=0      " CVE-2007-2438
2
+set modelines=1      " CVE-2007-2438
3 3
 
4 4
 " Normally we use vim-extensions. If you want true vi-compatibility
5 5
 " remove change the following statements
... ...
@@ -1,3 +1,5 @@
1
+echo ".zshrc loaded for $USER on $TTY at `date`" | logger
2
+
1 3
 # Path to your oh-my-zsh configuration.
2 4
 export ZSH=$HOME/.oh-my-zsh
3 5
 
... ...
@@ -43,9 +45,10 @@ fi
43 45
 
44 46
 $FORTUNE
45 47
 
46
-PS1="\
47
-(%?)
48
-%m:%n--%l %/ %!:%# "
48
+export PYTHONSTARTUP=$HOME/Library/Python/2.7/site-packages/sitecustomize.py
49
+PS1="---
50
+(%?) %m:%n--%l %/
51
+%!:%# "
49 52
 export PS1
50 53
 RPROMPT="[%T]"
51 54
 export RPROMPT
... ...
@@ -156,6 +159,13 @@ alias e=$EDITOR
156 159
 alias cvsdiff='cvs diff -wbB | colordiff'
157 160
 alias cp.='gcp --target-directory=.'
158 161
 
162
+alias notep='note post'
163
+noteg() {
164
+  note get "$*"
165
+}
166
+alias notel='note list'
167
+alias clipnote='pbpaste | note post'
168
+
159 169
 showspaces() {
160 170
 	python -c'import sys;print sys.stdin.read().replace(" ",".").replace("\t", "—---")'
161 171
 }