mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Added completions for head
This commit is contained in:
parent
58818e9738
commit
08f378c359
6
share/completions/head.fish
Normal file
6
share/completions/head.fish
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
complete -c head -s c -l bytes -d 'Print the first N bytes of each file; with the leading '-', print all but the last N bytes of each file' -r
|
||||||
|
complete -c head -s n -l lines -d 'print the first N lines instead of the first 10; with the leading '-', print all but the last N lines of each file' -r
|
||||||
|
complete -c head -s q -l quiet -l silent -d 'Never print headers giving file names'
|
||||||
|
complete -c head -s v -l verbose -d 'Always print headers giving file names'
|
||||||
|
complete -f -c head -l version -d 'Output version information and exit'
|
||||||
|
complete -f -c head -l help -d 'Display help and exit'
|
Loading…
Reference in New Issue
Block a user