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:
parent
bddecfed58
commit
aaebe4c890
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue