(ack) handle ack version string containing commit sha1
This commit is contained in:
parent
d94703edf8
commit
dab8775218
2
src/_ack
2
src/_ack
|
@ -42,7 +42,7 @@
|
||||||
_ack_version() {
|
_ack_version() {
|
||||||
local version
|
local version
|
||||||
version=(${(f)"$(_call_program version $words[1] --version)"})
|
version=(${(f)"$(_call_program version $words[1] --version)"})
|
||||||
version=${${version[1]}#ack }
|
version=${${(z)${version[1]}}[2]}
|
||||||
printf $version
|
printf $version
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue