ZSH complains about RVM __rvm_cleanse_variables: function definition file not found

Running the following solved the problem:

rm ~/.zcompdump*

Note: The * is incase there are multiple .zcompdump files.


Sometime there is also ~/.zcompdump-<COMPUTER NAME>-<VERSION> file, so use:

rm -f ~/.zcompdump*

To disable the .zcompdump* file(s), you could look in your .zshrc (or /etc/zsh/* files) for compinit and add the -D flag.

This might be better than creating the files and deleting them at every login.

(source: http://www.csse.uwa.edu.au/programming/linux/zsh-doc/zsh_23.html)

Tags:

Macos

Ruby

Zsh

Rvm