Browse code

Added noh, rvm support, hitch support

Nicolas Viennot authored on 04/05/2011 at 12:05:12
Showing 1 changed files
... ...
@@ -35,3 +35,18 @@ zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
35 35
 #bindkey "\e[F" end-of-line
36 36
 bindkey "\e[1;5D" backward-word
37 37
 bindkey "\e[1;5C" forward-word
38
+
39
+alias noh="unsetopt sharehistory"
40
+
41
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"  # This loads RVM into a shell session.
42
+unset RUBYOPT
43
+cd . # to rvm reload
44
+
45
+if [[ -x `which hitch` ]]; then
46
+	hitch() {
47
+		command hitch "$@"
48
+		if [[ -s "$HOME/.hitch_export_authors" ]] ; then source "$HOME/.hitch_export_authors" ; fi
49
+	}
50
+	alias unhitch='hitch -u'
51
+	hitch
52
+fi