Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bug. #2441

Closed
wants to merge 1 commit into from
Closed

Fix a bug. #2441

wants to merge 1 commit into from

Conversation

jiukunz
Copy link

@jiukunz jiukunz commented Jan 17, 2014

@ncanceill
Copy link
Contributor

These are two separate issues.

The fact that which does not return the path is normal for an alias.

This problem of cding to /var/empty cannot be caused by nocorrect — which all it does is disable auto-correction for the rest of the command.

Please try to be a bit clearer about which issue you are experiencing.

@mcornella
Copy link
Member

The fact that mysql is aliased is a feature here. In your second link there's a better solution: add unalias mysql at the end of your .zshrc.

This is a duplicate of #2283. Read #2283 (comment) and see that a better alternative to find the location of mysql is using type or whence

The other part of your description is foggy and doesn't seem to be an oh-my-zsh fault. I'll close this PR for the moment, and you can ask again when you have more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants