[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-39-g23ac383

Igor Murzov e-mail at date.by
Thu Sep 6 14:45:34 UTC 2012


The following commit has been merged in the master branch:
commit 2babb45402ee338b888056f01222a602d07a44cd
Author: Igor Murzov <e-mail at date.by>
Date:   Thu Sep 6 17:54:19 2012 +0400

    make: Do not append space if target is a filepath.
    
    This line was mistakenly dropped from the commit b28d710.

diff --git a/completions/make b/completions/make
index eac0ac4..553363e 100644
--- a/completions/make
+++ b/completions/make
@@ -122,6 +122,7 @@ _make()
         COMPREPLY=( $( compgen -W "$( LC_ALL=C \
             make -npq "${makef[@]}" "${makef_dir[@]}" .DEFAULT 2>/dev/null | \
             sed -n -r -f <(_make_target_extract_script "$cur") )" -- "$cur" ) )
+        [[ $COMPREPLY == */ ]] && compopt -o nospace
 
     fi
 } &&

-- 
bash-completion



More information about the Bash-completion-commits mailing list