-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Conner.Will
committed
Jul 20, 2023
1 parent
b62da4e
commit 5a2728d
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "$@" |