* Update has

Add pip/pip3/firefox/gunzip

* Update has

Add tee/screen/sqlite3
This commit is contained in:
Talas 2021-10-09 17:43:39 +03:30 committed by GitHub
parent 45fd56f557
commit 7446f451dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

10
has
View File

@ -143,17 +143,22 @@ __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}" ;;
tee) __dynamic_detect--version "${command}" ;;
screen) __dynamic_detect-v "${command}" ;;
# Container runtimes
docker|podman) __dynamic_detect--version "${command}" ;;
## Database CLI
psql) __dynamic_detect--version "${command}" ;;
sqlite3) __dynamic_detect-version "${command}" ;;
## Scripting Language / runtime
ruby|R|python|python3) __dynamic_detect--version "${command}" ;;
@ -188,6 +193,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}" ;;