mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 09:27:38 +00:00
24012b1941
This function doesn't make any sense. Most things that expect package names expect package names for *one specific package manager*. It only happens to work, most of the time, because most people only have one package manager installed.
10 lines
231 B
Fish
10 lines
231 B
Fish
function __fish_print_pkg_packages
|
|
# Pkg is fast on FreeBSD and provides versioning info which we want for
|
|
# installed packages
|
|
if type -q -f pkg
|
|
pkg query "%n-%v"
|
|
return 0
|
|
end
|
|
return 1
|
|
end
|
|
|