Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Duplicate completion for external commands on Cygwin



On Apr 9,  7:29pm, Atom Smasher wrote:
}
} > Is there a way to only show "cat" for instance and not "cat" and
} > "cat.exe"?
} ==================
} 
} ## cygwin only: commands that auto-complete with and without .exe suffix 
} ## are annoying.
} [[ ${OSTYPE} == cygwin ]] && { hash -f ; unhash -m '*.exe' }

Or:

zstyle ':completion:*:-command-:*' ignored-patterns '*.exe'



Messages sorted by: Reverse Date, Date, Thread, Author