extra code to handle ZSH completion issues after unloading RVM, fix #1835