/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.13.0
completions/_gh
8 строк
292 B
Ville Skyttä
refactor(fallbacks): remove checks if a completion got installed
11 апр 2023, 22:37
11 апр 2023, 22:37
95eef92
Код
Авторство
О чём код?
# 3rd party completion loader for commands emitting -*- shell-script -*- # their completion using "$cmd completion --shell bash". # # This serves as a fallback in case the completion is not installed otherwise. eval -- "$("$1" completion --shell bash 2>/dev/null)" # ex: filetype=sh