Skip to content

Commit

Permalink
completions: say it's compatible with zsh bashcompinit
Browse files Browse the repository at this point in the history
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
  • Loading branch information
bgoglin committed Apr 10, 2020
1 parent a426710 commit 459b6ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/completion/hwloc-completion.bash
Expand Up @@ -3,6 +3,8 @@
# See COPYING in top-level directory.
#

# This file is also compatible with zsh (once bashcompinit is enabled)

# bash < 4 doesn't support compopt
[[ -z "$ZSH_VERSION" ]] && [[ "${BASH_VERSINFO[0]:-0}" -lt 4 ]] && return
# TODO only disable the nospace completion of "--filter"
Expand Down

0 comments on commit 459b6ec

Please sign in to comment.