mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-06 23:31:28 +02:00
complete make targets of the form `foo bar:' (10575)
This commit is contained in:
parent
920c353740
commit
424ad9fc1d
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2000-04-07 Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
|
2000-04-07 Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
|
||||||
|
|
||||||
|
* 10575: Completion/User/_make: complete make targets of the form
|
||||||
|
`foo bar:'
|
||||||
|
|
||||||
* 10573: Src/Zle/compmatch.c: cursor placed on wrong word part
|
* 10573: Src/Zle/compmatch.c: cursor placed on wrong word part
|
||||||
with ** match spec
|
with ** match spec
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ else
|
||||||
|
|
||||||
if [[ -n "$file" ]] && _wanted targets; then
|
if [[ -n "$file" ]] && _wanted targets; then
|
||||||
tmp=(
|
tmp=(
|
||||||
$(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print $1}
|
$(awk '/^[a-zA-Z0-9][^\/\t]+:/ {print $1}
|
||||||
/^\.include *<bsd\.port\.(subdir\.|pre\.)?mk>/ || /^\.include *".*mk\/bsd\.pkg\.(subdir\.)?mk"/ {
|
/^\.include *<bsd\.port\.(subdir\.|pre\.)?mk>/ || /^\.include *".*mk\/bsd\.pkg\.(subdir\.)?mk"/ {
|
||||||
print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \
|
print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \
|
||||||
FS=: $file)
|
FS=: $file)
|
||||||
|
|
Loading…
Reference in a new issue