fork/fish-shell

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

JasonMove __fish_ports_dirs into ports completion scriptb658b421a

master
423 B9 linesraw
1function __fish_ports_dirs -d 'Obtain a list of ports local collections'
2    ls /usr/ports
3end
4
5complete -f -c ports -s u -l update -a '(__fish_ports_dirs)' -d 'Update ports'
6complete -f -c ports -s l -l list -d 'List ports'
7complete -f -c ports -s d -l diff -d 'List version diffs between local and installed ports'
8complete -f -c ports -s v -l version -d 'Print version'
9complete -f -c ports -s h -l help -d 'Print help'