diff options
Diffstat (limited to 'completions/man')
-rw-r--r-- | completions/man | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/completions/man b/completions/man index 0fa17a0d..e7f82fa8 100644 --- a/completions/man +++ b/completions/man @@ -1,6 +1,8 @@ # man(1) completion -[[ $USERLAND == GNU || $UNAME == @(Darwin|FreeBSD|SunOS|Cygwin|OpenBSD) ]] && +[[ $OSTYPE == *@(darwin|freebsd|solaris|cygwin|openbsd)* ]] || _userland GNU \ + || return 1 + _man() { local cur prev words cword split |