maj api
chargement depuis ~/etc/completion.d
This commit is contained in:
@@ -7,14 +7,14 @@
|
||||
##@require base
|
||||
uprovide bash_completion
|
||||
|
||||
function __is_bash_completion_enabled() {
|
||||
function __bash_completion_enabled() {
|
||||
[ -n "$BASH_COMPLETION" ]
|
||||
}
|
||||
function __is_bash_completion_module_enabled() {
|
||||
function __bash_completion_module_enabled() {
|
||||
[ -n "$BASH_COMPLETION_DIR" -a -f "$BASH_COMPLETION_DIR/$1" ]
|
||||
}
|
||||
|
||||
if ! __is_bash_completion_enabled; then
|
||||
if ! __bash_completion_enabled; then
|
||||
BASH_COMPLETION=1
|
||||
shopt -s extglob progcomp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user