support composer (#51)

This commit is contained in:
ptt-homme 2020-08-31 05:50:38 +02:00 committed by GitHub
parent 45c4126659
commit 41149c3474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

5
has
View File

@ -119,9 +119,10 @@ __detect(){
ag|ack|rg) __dynamic_detect--version "${command}" ;;
tree|autojump) __dynamic_detect--version "${command}" ;;
## package mangers
## Package managers
apt|apt-get|aptitude) __dynamic_detect--version "${command}" ;;
brew) __dynamic_detect--version "${command}" ;;
composer) __dynamic_detect-V "${command}" ;;
## System tools
sed|awk|grep|file|sudo) __dynamic_detect--version "${command}" ;;
@ -130,7 +131,7 @@ __detect(){
# Container runtimes
docker|podman) __dynamic_detect--version "${command}" ;;
## Database CLI
psql) __dynamic_detect--version "${command}" ;;