- remove bogus targets from make completion
This commit is contained in:
parent
0dd15c6cc7
commit
33a4623648
@ -1,6 +1,6 @@
|
||||
# bash_completion - some programmable completion functions for bash 2.05b
|
||||
#
|
||||
# $Id: bash_completion,v 1.648 2003/11/03 23:33:01 ianmacd Exp $
|
||||
# $Id: bash_completion,v 1.649 2003/11/04 00:27:29 ianmacd Exp $
|
||||
#
|
||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||
#
|
||||
@ -2409,9 +2409,8 @@ _make()
|
||||
|
||||
[ ! -f $makef ] && return 0
|
||||
|
||||
COMPREPLY=( $( awk -F':' '/^[^\t ]*:/ {print $1}' $makef \
|
||||
2>/dev/null | grep -v "^[.%#]" | grep "^$cur" ))
|
||||
|
||||
COMPREPLY=( $( awk -F':' '/^[a-zA-Z0-9][^\/\t=]+:/ {print $1}'\
|
||||
$makef 2>/dev/null | grep "^$cur" ))
|
||||
fi
|
||||
}
|
||||
[ -n "${have:-}" ] && complete -F _make $default make gmake pmake
|
||||
|
Loading…
x
Reference in New Issue
Block a user