Browse code

Merge pull request #375 from betawaffle/rollback-366

Rollback of Pull #366

Robby Russell authored on 01/06/2011 at 04:24:01
Showing 4 changed files
... ...
@@ -1,13 +1 @@
1
-# Move /usr/local/bin (path where brews are linked) to the front of the path
2
-# This will allow us to override system binaries like ruby with our brews
3
-# TODO: Do this in a more compatible way.
4
-#       What if someone doesn't have /usr/bin in their path?
5
-export PATH=`echo $PATH | sed -e 's|/usr/local/bin||' -e 's|::|:|g'` # Remove /usr/local/bin
6
-export PATH=`echo $PATH | sed -e 's|/usr/bin|/usr/local/bin:&|'`     # Add it in front of /usr/bin
7
-export PATH=`echo $PATH | sed -e 's|/usr/bin|/usr/local/sbin:&|'`    # Add /usr/local/sbin
8
-
9 1
 alias brews='brew list -1'
10
-
11
-function brew-link-completion {
12
-	ln -s "$(brew --prefix)/Library/Contributions/brew_zsh_completion.zsh" "$ZSH/plugins/brew/_brew.official"
13
-}
... ...
@@ -1,8 +1,5 @@
1
-# This works if you installed node via homebrew.
2
-export NODE_PATH="/usr/local/lib/node"
3
-
4 1
 # Open the node api for your current version to the optional section.
5 2
 # TODO: Make the section part easier to use.
6
-function node-api {
3
+function node-docs {
7 4
 	open "http://nodejs.org/docs/$(node --version)/api/all.html#$1"
8 5
 }
9 6
deleted file mode 100644
... ...
@@ -1,2 +0,0 @@
1
-# TODO: Don't do this in such a weird way.
2
-export PATH=`echo $PATH | sed -e 's|/usr/bin|/usr/local/share/npm/bin:&|'`
... ...
@@ -1,7 +1,3 @@
1
-fpath=($ZSH/plugins/rvm $fpath)
2
-autoload -U compinit
3
-compinit -i
4
-
5 1
 alias rubies='rvm list rubies'
6 2
 alias gemsets='rvm gemset list'
7 3
 
... ...
@@ -35,10 +31,6 @@ function rvm-update {
35 35
 	rvm reload # TODO: Reload rvm completion?
36 36
 }
37 37
 
38
-function rvm-link-completion {
39
-	ln -s "$rvm_path/scripts/zsh/Completion/_rvm" "$ZSH/plugins/rvm/_rvm.official"
40
-}
41
-
42 38
 # TODO: Make this usable w/o rvm.
43 39
 function gems {
44 40
 	local current_ruby=`rvm-prompt i v p`