[Lunar-commits] <moonbase-core> make: remove lunar's make tab-completion

v4hn me at v4hn.de
Thu Sep 19 22:05:55 CEST 2013


commit 383ca24cb2142564ff30abf1136157c271bae004
Author: v4hn <me at v4hn.de>
Date: Wed, 18 Sep 2013 17:21:13 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/383ca24cb2142564ff30abf1136157c271bae004

make: remove lunar's make tab-completion

The bash-completions code does a _much_ better job
and does not fail when no Makefile is around.
---
  devel/make/profile.d/make-completion.rc | +0/-18    
  1 file changed, 18 deletions(-)

--- a/devel/make/profile.d/make-completion.rc
+++ /dev/null
@@ -1,18 +0,0 @@
-
-#
-# simple tab completion for make! =^)
-#
-
-# Turn on extended globbing
-shopt -s extglob
-
-_make ()
-{
-	local cur
-	cur=${COMP_WORDS[COMP_CWORD]}
-	COMPREPLY=( $( compgen -W "`grep ^[a-zA-Z0-9_]*: [mM]akefile | cut -d: -f1`" $cur ))
-
-}
-
-complete -F _make make
-




More information about the Lunar-commits mailing list