From 08f378c35948609571fa0eb2186cc1f65a29698b Mon Sep 17 00:00:00 2001 From: Johann Weging Date: Sun, 26 May 2013 21:33:32 +0200 Subject: [PATCH] Added completions for head --- share/completions/head.fish | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 share/completions/head.fish diff --git a/share/completions/head.fish b/share/completions/head.fish new file mode 100644 index 000000000..34c2a87dc --- /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'