1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-18 03:40:08 +00:00

fix(mvn): fix listing modules in completion (#10586)

This commit is contained in:
Marc Cornellà 2022-01-13 14:29:12 +01:00 committed by GitHub
parent bddecfed58
commit aaebe4c890
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,7 +117,7 @@ function listMavenCompletions {
done done
# List modules # 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=( reply=(
# common lifecycle # common lifecycle