Skip to content

Commit 8304d33

Browse files
committed
feat(xxd): add -n, -o, and -R arg (non-)completions
1 parent 35293af commit 8304d33

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

completions/xxd

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ _comp_cmd_xxd()
66
_comp_initialize -- "$@" || return
77

88
case $prev in
9-
-h | -help | -c | -cols | -g | -groupsize | -l | -len | -s | -seek | \
10-
-v | -version)
9+
-h | -help | -c | -cols | -g | -groupsize | -l | -len | -n | -name | \
10+
-o | -s | -seek | -v | -version)
11+
return
12+
;;
13+
-R)
14+
_comp_compgen -- -W "always auto never"
1115
return
1216
;;
1317
esac

0 commit comments

Comments
 (0)