Update has

Add pip/pip3/firefox/gunzip
This commit is contained in:
Talas 2021-10-09 16:59:45 +03:30 committed by GitHub
parent 45fd56f557
commit e0a2f252d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

7
has
View File

@ -143,12 +143,14 @@ __detect(){
apt|apt-get|aptitude) __dynamic_detect--version "${command}" ;;
brew) __dynamic_detect--version "${command}" ;;
composer) __dynamic_detect-V "${command}" ;;
pip|pip3|conda) __dynamic_detect-V "${command}" ;;
## System tools
sed|awk|grep|file|sudo) __dynamic_detect--version "${command}" ;;
gzip|xz|unar|bzip2) __dynamic_detect--version "${command}" ;;
tar|pv) __dynamic_detect--version "${command}" ;;
gunzip) __dynamic_detect--version "${command}" ;;
# Container runtimes
docker|podman) __dynamic_detect--version "${command}" ;;
@ -188,6 +190,9 @@ __detect(){
vagrant|consul) __dynamic_detect--version "${command}" ;;
nomad) __dynamic_detect--version "${command}" ;;
## Browsers
firefox) __dynamic_detect-v "${command}" ;;
# commands that need -v flag
unzip) __dynamic_detect-v "${command}" ;;