๐Ÿ“ฆ scop / bash-completion

๐Ÿ“„ coder.bash ยท 9 lines
1
2
3
4
5
6
7
8
9# 3rd party completion loader for commands emitting        -*- shell-script -*-
# their completion using "$cmd completion --print --shell bash".
#
# This serves as a fallback in case the completion is not installed otherwise.

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

# ex: filetype=sh