summaryrefslogtreecommitdiffstats
path: root/completions/pkgutil
diff options
context:
space:
mode:
Diffstat (limited to 'completions/pkgutil')
-rw-r--r--completions/pkgutil3
1 files changed, 3 insertions, 0 deletions
diff --git a/completions/pkgutil b/completions/pkgutil
index 63dc400..0b2e4ec 100644
--- a/completions/pkgutil
+++ b/completions/pkgutil
@@ -1,6 +1,9 @@
# pkgutil completion -*- shell-script -*-
# Copyright 2006 Yann Rouillard <yann@opencsw.org>
+# At least macOS pkgutil is different
+[[ $OSTYPE == *solaris* ]] || return 1
+
_comp_cmd_pkgutil__url2catalog()
{
local filename="$1"