fork/fish-shell

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

Johannes Altmanninger__fish_cached: tolerate trailing newlinee77b1c974

master
283 B10 linesraw
1# localization: skip(private)
2function __fish_print_port_packages
3    type -q -f port || return 1
4
5    __fish_cached -t 250 -k port '
6        printf "all\ncurrent\nactive\ninactive\ninstalled\nuninstalled\noutdated\n"
7        port echo all | awk \'{$1=$1};1\'
8    '
9    return 0
10end