/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.13.0
completions/_cargo
9 строк
372 B
Koichi Murase
refactor: rename `_{ => comp}_load_completion`
01 сен 2023, 17:28
01 сен 2023, 17:28
9efc596
Код
Авторство
О чём код?
# 3rd party completion loader for cargo -*- shell-script -*- # # This serves as a fallback in case the completion is not installed otherwise. # shellcheck disable=SC2168 # "local" is ok, assume sourced by _comp_load local rustup="${1%cargo}rustup" # use rustup from same dir eval -- "$("$rustup" completions bash cargo 2>/dev/null)" # ex: filetype=sh