Skip to content

Commit 459b6ec

Browse files
committed
completions: say it's compatible with zsh bashcompinit
Signed-off-by: Brice Goglin <[email protected]>
1 parent a426710 commit 459b6ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/completion/hwloc-completion.bash

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# See COPYING in top-level directory.
44
#
55

6+
# This file is also compatible with zsh (once bashcompinit is enabled)
7+
68
# bash < 4 doesn't support compopt
79
[[ -z "$ZSH_VERSION" ]] && [[ "${BASH_VERSINFO[0]:-0}" -lt 4 ]] && return
810
# TODO only disable the nospace completion of "--filter"

0 commit comments

Comments
 (0)