I've just uninstalled rvm—I ran rvm implode
and removed rvm from $PATH
in my .zshrc
, as specified in this Stack Overflow post.
Since uninstalling, I've noticed that my shell startup has an exit status of 1
. I've checked this by using echo $?
after loading the shell—I always get 1
back.
I briefly reinstalled rvm to confirm that's what caused the change, and sure enough, after reinstalling, my exit status was back to zero on startup.
I've tried commenting out my zshell so that there's no customization, but that didn't solve the problem.
What is causing my startup exit status of 1
after uninstalling rvm?
Found it! I was looking at the zshell sourceforge page, and I noticed that zsh reads from five different files at startup:
$ZDOTDIR/.zshenv
$ZDOTDIR/.zprofile
$ZDOTDIR/.zshrc
$ZDOTDIR/.zlogin
$ZDOTDIR/.zlogout
I found a .zlogin
file on my system that contained some rvm-related code. I've deleted the code, and the problem is solved!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With