2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-24 02:35:55 +00:00
fish-shell/share/functions/__fish_print_pkg_packages.fish
Johannes Altmanninger 330883b6fd Run fish_indent on share/**.fish
This is mostly to show that some of my following indent changes don't break
current behavior.
2021-02-08 07:31:33 +01:00

9 lines
226 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