fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes AltmanningerMake __fish_is_nth_token and __fish_nth_token private again47b0d0c29

master
2.0 KiB28 linesraw
1complete -c xsv -n "__fish_is_nth_token 1" -xa cat -d 'Concatenate by row or column'
2complete -c xsv -n "__fish_is_nth_token 1" -xa count -d 'Count records'
3complete -c xsv -n "__fish_is_nth_token 1" -xa fixlengths -d 'Makes all records have same length'
4complete -c xsv -n "__fish_is_nth_token 1" -xa flatten -d 'Show one field per line'
5complete -c xsv -n "__fish_is_nth_token 1" -xa fmt -d 'Format CSV output (change field delimiter)'
6complete -c xsv -n "__fish_is_nth_token 1" -xa frequency -d 'Show frequency tables'
7complete -c xsv -n "__fish_is_nth_token 1" -xa headers -d 'Show header names'
8complete -c xsv -n "__fish_is_nth_token 1" -xa help -d 'Show this usage message.'
9complete -c xsv -n "__fish_is_nth_token 1" -xa index -d 'Create CSV index for faster access'
10complete -c xsv -n "__fish_is_nth_token 1" -xa input -d 'Read CSV data with special quoting rules'
11complete -c xsv -n "__fish_is_nth_token 1" -xa join -d 'Join CSV files'
12complete -c xsv -n "__fish_is_nth_token 1" -xa sample -d 'Randomly sample CSV data'
13complete -c xsv -n "__fish_is_nth_token 1" -xa search -d 'Search CSV data with regexes'
14complete -c xsv -n "__fish_is_nth_token 1" -xa select -d 'Select columns from CSV'
15complete -c xsv -n "__fish_is_nth_token 1" -xa slice -d 'Slice records from CSV'
16complete -c xsv -n "__fish_is_nth_token 1" -xa sort -d 'Sort CSV data'
17complete -c xsv -n "__fish_is_nth_token 1" -xa split -d 'Split CSV data into many files'
18complete -c xsv -n "__fish_is_nth_token 1" -xa stats -d 'Compute basic statistics'
19complete -c xsv -n "__fish_is_nth_token 1" -xa table -d 'Align CSV data into columns'
20
21# with a subcommand
22complete -c xsv -n 'not __fish_is_nth_token 1' -k -xa '(__fish_complete_suffix .csv)'
23complete -c xsv -n 'not __fish_is_nth_token 1' -s h -l help -d 'Display help for this xsv command'
24
25# without a subcommand
26complete -c xsv -s h -l help -d 'Display xsv help'
27complete -c xsv -l version -d 'Display xsv version info'
28complete -c xsv -l list -d 'List all xsv commands'