mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-27 15:30:15 +08:00
fix(mvn): fix listing modules in completion (#10586)
This commit is contained in:
parent
bddecfed58
commit
aaebe4c890
@ -117,7 +117,7 @@ function listMavenCompletions {
|
||||
done
|
||||
|
||||
# List modules
|
||||
modules=($(find **/pom.xml -type f | grep -v '/target/classes/META-INF/' | grep '/pom.xml' |sed 's|\(.*\)/pom\.xml|\1|'))
|
||||
modules=($(print -l **/pom.xml(-.N:h) | grep -v '/target/classes/META-INF/'))
|
||||
|
||||
reply=(
|
||||
# common lifecycle
|
||||
|
Loading…
Reference in New Issue
Block a user