Skip to content

Instantly share code, notes, and snippets.

@jonpaul
Created December 20, 2011 18:18
Show Gist options
  • Save jonpaul/1502607 to your computer and use it in GitHub Desktop.
Save jonpaul/1502607 to your computer and use it in GitHub Desktop.
rvm $PATH weirdness?
Last login: Tue Dec 20 12:50:04 on ttys003
zsh: command not found: rvm-prompt
╭─jon-paullussier@georges-imac ~ ‹›
╰─$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
zsh: command not found: rvm-prompt
╭─jon-paullussier@georges-imac ~ ‹›
╰─$ rvm use default
Using /Users/jon-paullussier/.rvm/gems/ruby-1.8.7-p352
╭─jon-paullussier@georges-imac ~ ‹ruby-1.8.7›
╰─$ echo $PATH
/Users/jon-paullussier/.rvm/gems/ruby-1.8.7-p352/bin:/Users/jon-paullussier/.rvm/gems/ruby-1.8.7-p352@global/bin:/Users/jon-paullussier/.rvm/rubies/ruby-1.8.7-p352/bin:/Users/jon-paullussier/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
╭─jon-paullussier@georges-imac ~ ‹ruby-1.8.7›
╰─$ cat ~/.zshrc
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="bira"
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"
# Uncomment following line if you want to disable autosetting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment following line if you want red dots to be displayed while waiting for completion
# COMPLETION_WAITING_DOTS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format:
plugins=(git ruby cap brew gem osx powder pow rails3 rvm)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
__rvm_project_rvmrc
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
╭─jon-paullussier@georges-imac ~ ‹ruby-1.8.7›
╰─$ cat ~/.zshenv
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment