fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
a53db7256
master
1# localization: skip(private) 2function __fish_print_pkg_add_packages 3# pkg_info on OpenBSD provides versioning info which we want for 4# installed packages but, calling it directly can cause delays in 5# returning information if another pkg_* tool have a lock. 6# Listing /var/db/pkg is a clean alternative. 7if type -q -f pkg_add 8set -l files /var/db/pkg/* 9string replace /var/db/pkg/'' --$files 10return 0 11end 12return 1 13end