ZSH se queja de RVM rvm cleanse variables: function definition file not found


Cuando se utiliza la última ZSH y RVM en Mac OS X 10.7.4 ZSH se queja de esto:

__rvm_cleanse_variables: function definition file not found

Author: Tyler Brock, 2012-05-14

5 answers

Ejecutar lo siguiente resolvió el problema:

rm -f ~/.zcompdump*

Nota: El * es en caso de que haya múltiples.zcompdump archivos.

 489
Author: Tyler Brock,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2014-01-30 21:44:28

En algún momento también hay ~/.zcompdump-<COMPUTER NAME>-<VERSION> archivo, así que use:

rm -f ~/.zcompdump*
 107
Author: heracek,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-09-23 14:35:54

Para desactivar los archivos .zcompdump*, puede buscar .zshrc (o /etc/zsh/* files) para compinit y agregar la bandera -D.

Esto podría ser mejor que crear los archivos y eliminarlos en cada inicio de sesión.

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

 7
Author: nomad,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-10-11 08:10:47

Mi problema persistió incluso después de compinit -D y rm -f ~/.zcompdump*. Encontré este problema de github y comprobé mi .directorio zplug y seguramente encontró algunos archivos zcompdump no ocultos (sin precedentes '.'). Los borré y ya estaba listo. Si estás usando un gestor de plugins zsh como zgen o zplug, revisa sus directorios.

 4
Author: Andrew Prentice,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-09-14 06:14:29

Añadir rm-f ~/.zcompdump{,.zwc} to .zlogin para automatizarlo

 1
Author: ntzrmtthihu777,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-10-10 11:47:20