Skip to content

Commit

Permalink
completions: Add awk fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmc3 committed Feb 7, 2024
1 parent 03fe237 commit 796dc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/_antidote
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
function _antidote_subcommands {
local usage=$(
antidote --help |
$__adote_awkcmd '
${__adote_awkcmd:-awk} '
BEGIN{OFS=":"; p=0}
/^commands:$/ {p=1; next}
!p{next}
Expand Down

0 comments on commit 796dc76

Please sign in to comment.