From 2e215cc09f300cdfd614f653c428c03f9b43a46c Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Thu, 26 Mar 2015 20:53:48 +0400 Subject: [PATCH] utiliser l'api --- lib/bashrc.d/bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bashrc.d/bash_completion b/lib/bashrc.d/bash_completion index 190e995..7ee52d1 100644 --- a/lib/bashrc.d/bash_completion +++ b/lib/bashrc.d/bash_completion @@ -20,7 +20,7 @@ if [ -n "$UTOOLS_BASH_COMPLETION" ]; then [ -f "$_file" ] && source "$_file" unset _file fi - if [ -n "$BASH_COMPLETION" ]; then + if __bash_completion_enabled; then for i in "@@dest@@/lib/completion.d/"*; do [ -f "$i" ] || continue source "$i"