mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-06 03:33:43 +08:00
330883b6fd
This is mostly to show that some of my following indent changes don't break current behavior.
10 lines
226 B
Fish
10 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
|