dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Change zsh autocorrection to ignore dotfiles

Open csivanich opened this issue 9 years ago • 0 comments

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 avatar May 08 '15 21:05 csivanich