mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-12 16:53:37 +08:00
68527ff20c
This ends up saving a surprising number of bytes.
26 lines
1.5 KiB
Fish
26 lines
1.5 KiB
Fish
|
|
complete -c sort -s b -l ignore-leading-blanks -d "Ignore leading blanks"
|
|
complete -c sort -s d -l dictionary-order -d "Consider only blanks and alphanumerics"
|
|
complete -c sort -s f -l ignore-case -d "Ignore case"
|
|
complete -c sort -s g -l general-numeric-sort -d "Compare general numeric value"
|
|
complete -c sort -s i -l ignore-nonprinting -d "Consider only printable"
|
|
complete -c sort -s h -l human-numeric-sort -d "Compare human readable numbers [2K 1G]"
|
|
complete -c sort -s M -l month-sort -d "Compare month names"
|
|
complete -c sort -s n -l numeric-sort -d "Compare string numerical value"
|
|
complete -c sort -s R -l random-sort -d "Sort by random hash of keys"
|
|
complete -c sort -l random-source -d "Get random bytes from FILE"
|
|
complete -c sort -s r -l reverse -d "Reverse results"
|
|
complete -c sort -s c -l check -d "Only check if sorted"
|
|
complete -c sort -s k -l key -d "Define key"
|
|
complete -c sort -s m -l merge -d "Merge sorted files"
|
|
complete -c sort -s o -l output -f -d "Write to file"
|
|
complete -c sort -s s -l stable -d "Stabilize sort"
|
|
complete -c sort -s S -l buffer-size -r -d "Set memory buffer size"
|
|
complete -c sort -s t -l field-separator -d "Field separator"
|
|
complete -c sort -s T -l temporary-directory -r -d "Set temporary directory"
|
|
complete -c sort -s u -l unique -d "Output only first of equal lines"
|
|
complete -c sort -s z -l zero-terminated -d "Lines end with 0 byte"
|
|
complete -c sort -l help -d "Display help and exit"
|
|
complete -c sort -l version -d "Display version and exit"
|
|
|