Add credit to xxenv-latest in comments

This commit is contained in:
Kevin Lane 2019-11-22 10:37:53 -08:00
parent c11409583f
commit 9fd7b83973
No known key found for this signature in database
GPG Key ID: 1C86152D9F2E3D7F

View File

@ -6,6 +6,7 @@ latest_command() {
[[ -z $query ]] && query="$DEFAULT_QUERY"
# pattern from xxenv-latest (https://github.com/momo-lab/xxenv-latest)
load_cmd "list-all"
list_all_command "$plugin_name" "$query" \
| grep -vE "(^Available versions:|-src|-dev|-latest|-stm|[-\.]rc|-alpha|-beta|[-\.]pre|-next|(a|b|c)[0-9]+|snapshot|master)" \