summaryrefslogtreecommitdiffstats
path: root/completions/_golangci-lint
blob: 40fc5c37b6c433ce0b3d472d973a294c721a0b51 (plain)
1
2
3
4
5
6
7
8
9
# 3rd party completion loader for commands emitting        -*- shell-script -*-
# their completion using "$cmd completion bash".
# For example, many Go programs using https://github.com/spf13/cobra do.
#
# This serves as a fallback in case the completion is not installed otherwise.

eval -- "$("$1" completion bash 2>/dev/null)"

# ex: filetype=sh