Skip to content

Instantly share code, notes, and snippets.

@slava-konashkov
Created March 9, 2021 08:06
Show Gist options
  • Save slava-konashkov/0f4c3f73aa8209738f1f052bc83d9f24 to your computer and use it in GitHub Desktop.
Save slava-konashkov/0f4c3f73aa8209738f1f052bc83d9f24 to your computer and use it in GitHub Desktop.
Prevent completion of files for 'make' command in zsh shell.
You can ask zsh to only display targets tag for the make command completion with
zstyle ':completion:*:*:make:*' tag-order 'targets'
Add above code somewhere after the line
autoload -U compinit && compinit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment