Skip to content

Commit

Permalink
Added zsh completion for yayfzf
Browse files Browse the repository at this point in the history
  • Loading branch information
Conner.Will committed Jul 20, 2023
1 parent b62da4e commit 5a2728d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions completion/zsh/_yayfzf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#compdef yayfzf

_yayfzf() {
local -a args

args=(
'-h:Show the help menu'
'--help:Show the extended help menu of yayfzf'
'-k:List keybindings for yayfzf'
'--keybindings:List keybindings for yayfzf'
'-V:Show version of yayfzf'
'--version:Show version of yayfzf'
)

_arguments -C \
"${args[@]}" \
':query:_files'
}

_yayfzf "$@"

0 comments on commit 5a2728d

Please sign in to comment.