Add OS check to pkg completions

This commit is contained in:
Mahmoud Al-Qudsi 2018-06-07 12:22:47 -05:00
parent c133cb2f1a
commit e8b6705067

View file

@ -1,5 +1,9 @@
# Completions for pkgng package manager # Completions for pkgng package manager
if uname | not string match FreeBSD
exit
end
function __fish_pkg_is function __fish_pkg_is
for option in $argv for option in $argv
if contains $option (commandline -poc) if contains $option (commandline -poc)