/usr/share/fish/completions/ports.fish is in fish-common 2.2.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | #completion for ports
complete -f -c ports -s u -l update -a '(__fish_ports_dirs)' -d 'Update ports'
complete -f -c ports -s l -l list -d 'List ports'
complete -f -c ports -s d -l diff -d 'List version diffs between local and installed ports'
complete -f -c ports -s v -l version -d 'Print version'
complete -f -c ports -s h -l help -d 'Print help'
|