aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/head.fish
diff options
context:
space:
mode:
authorGravatar Johann Weging <johann@weging.net>2013-05-26 21:33:32 +0200
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-06-02 00:54:25 -0700
commit08f378c35948609571fa0eb2186cc1f65a29698b (patch)
tree36fe9edb022234f97b5c741fcb344d6f32b789c2 /share/completions/head.fish
parent58818e9738923719a2fc6c38f91a76f7b5971162 (diff)
Added completions for head
Diffstat (limited to 'share/completions/head.fish')
-rw-r--r--share/completions/head.fish6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/completions/head.fish b/share/completions/head.fish
new file mode 100644
index 00000000..34c2a87d
--- /dev/null
+++ b/share/completions/head.fish
@@ -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'