fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
a53db7256
master
1# localization: skip(private) 2function __fish_print_opkg_packages 3type -q -f opkg|| return 1 4 5argparse i/installed --$argv 6or return 1 7 8if set -q _flag_installed 9opkg list-installed2> /dev/null| sed -r's/^([a-zA-Z0-9\-]+) - ([a-zA-Z0-9\-]+)/\1\t\2/g' 10return 0 11else 12opkg list2> /dev/null| sed -r's/^([a-zA-Z0-9\-]+) - ([a-zA-Z0-9\-]+)/\1\t\2/g' 13return 0 14end 15end