Skip to content

Commit

Permalink
feat(xxd): add -n, -o, and -R arg (non-)completions
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Jun 4, 2024
1 parent 35293af commit 8304d33
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions completions/xxd
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ _comp_cmd_xxd()
_comp_initialize -- "$@" || return

case $prev in
-h | -help | -c | -cols | -g | -groupsize | -l | -len | -s | -seek | \
-v | -version)
-h | -help | -c | -cols | -g | -groupsize | -l | -len | -n | -name | \
-o | -s | -seek | -v | -version)
return
;;
-R)
_comp_compgen -- -W "always auto never"
return
;;
esac
Expand Down

0 comments on commit 8304d33

Please sign in to comment.