Skip to content

Instantly share code, notes, and snippets.

@igemnace
Last active May 30, 2020 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igemnace/351dbc1d9cd7a0a3ae100df1c0cf20d5 to your computer and use it in GitHub Desktop.
Save igemnace/351dbc1d9cd7a0a3ae100df1c0cf20d5 to your computer and use it in GitHub Desktop.
Simple zsh completion widgets for my AUR scripts and functions. Put somewhere in your `fpath`.
#compdef aurclean
_files -W "${AUR_DIR:-$HOME/.aur}"
#compdef aurinstall
_files -W "${AUR_DIR:-$HOME/.aur}"
#compdef aurremove
_files -W "${AUR_DIR:-$HOME/.aur}"
#compdef aurupdate
_files -W "${AUR_DIR:-$HOME/.aur}"
#compdef reaur
_files -W "${AUR_DIR:-$HOME/.aur}"
#compdef unaur
_files -W "${AUR_DIR:-$HOME/.aur}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment