tab completion when .z exists

solve:
If the file `.z` don't exists and I try tab completion I get this error : 

    rm $HOME/.z
    z sr<TAB>
    z sr-bash: /home/user/.z: No such file or directory