fixed file checking bug in zshrc