shitbox/pkg/usr/share/fish/completions/head.fish

8 lines
552 B
Fish

complete -c head -s n -l lines -d 'Count n number of lines (or bytes if -c is specified).' -r
complete -c head -s C -l color -r -f -a "{always ,ansi ,auto ,never }"
complete -c head -s 1 -r
complete -c head -s c -l bytes -d 'Count bytes instead of lines'
complete -c head -s q -l quiet -d 'Disable printing a header. Overrides -c'
complete -c head -s v -l verbose -d 'Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.'
complete -c head -s h -l help -d 'Print help (see more with \'--help\')'