Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
RVM tells me to use the login shell but I already am
set aliases from ~/.oh-my-zsh/lib/aliases.zsh
added to PATH and ENV from ~/.zshrc
$ echo $SHELL
/bin/zsh --login
$ if [[ -o login ]]; then; print yes; else; print no; fi
$ rvm -v
rvm 1.18.14 (master) by Wayne E. Seguin <>, Michal Papis <> []
$ rvm list
rvm rubies
=* ruby-2.0.0-p0 [ x86_64 ]
# => - current
# =* - current && default
# * - default
$ rvm use ruby-2.0.0-p0
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit for a example.
$ echo $PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment