Permalink
Browse files

Rbenv, ignore _rvm and tmuxinator

  • Loading branch information...
1 parent 899c150 commit fd57fd4ec87125a15b111002e3db3b0012084ac3 James Harris committed Feb 25, 2012
Showing with 19 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +15 −1 05_ruby.zsh
  3. +3 −0 06_tmuxinator.zsh
View
@@ -1,2 +1,3 @@
func/_brew
+func/_rvm
zsh-pip-completion
View
@@ -17,7 +17,21 @@ fi
if [[ -n $rbenv_root ]]; then
path=($rbenv_root/bin $path)
- eval "$(rbenv init -)"
+ path=($rbenv_root/shims $path)
+ . "$rbenv_root/completions/rbenv.zsh"
+ rbenv() {
+ local command="$1"
+ if [ "$#" -gt 0 ]; then
+ shift
+ fi
+
+ case "$command" in
+ shell)
+ eval `rbenv "sh-$command" "$@"`;;
+ *)
+ command rbenv "$command" "$@";;
+ esac
+ }
fi
typeset -U fpath path manpath
View
@@ -0,0 +1,3 @@
+if [[ -s $HOME/.tmuxinator/scripts/tmuxinator ]]; then
+ source $HOME/.tmuxinator/scripts/tmuxinator
+fi

0 comments on commit fd57fd4

Please sign in to comment.