fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
ce245704d
master
1if head --version> /dev/null2> /dev/null 2complete -c head -s c -l bytes -d'Print the first N bytes; Leading ' -', truncate the last N bytes' -r 3complete -c head -s n -l lines -d'Print the first N lines; Leading ' -', truncate the last N lines' -r 4complete -c head -s q -l quiet -l silent -d'Never print file names' 5complete -c head -s v -l verbose -d'Always print file names' 6complete -f -c head -l version -d'Display version' 7complete -f -c head -l help -d'Display help' 8else # OSX and similar - no longopts (and fewer shortopts) 9complete -c head -s c -d'Print the first N bytes' -r 10complete -c head -s n -d'Print the first N lines' -r 11end