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

Change zsh autocorrection to ignore dotfiles #2

Open
csivanich opened this issue May 8, 2015 · 0 comments
Open

Change zsh autocorrection to ignore dotfiles #2

csivanich opened this issue May 8, 2015 · 0 comments

Comments

@csivanich
Copy link
Owner

Currently zsh will try to correct inputs to filenames which are prefixed with a .. This is problematic when working in situation where dotfiles must have the same name as the command, especially git.

Example:

 (Theta) chris@theta $ pwd
/home/chris/dotfiles
 (Theta) chris@theta $ ls -a
.             compton  .git         .gitmodules.orig   install.sh  other           tmux       x
..            dunst    .gitignore   i3                 libs        README.md       update.sh  zsh
CHANGELOG.md  fonts    .gitmodules  install.conf.json  .mailmap    README.md.orig  vim
 (Theta) chris@theta $ man git tag
zsh: correct 'git' to '.git' [nyae]?
csivanich added a commit that referenced this issue Oct 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant