addet correct has tools syntax

This commit is contained in:
pika 2024-08-25 17:14:45 +02:00
parent 2545e917d5
commit ab8e27e3be

2
.zshrc
View file

@ -88,7 +88,7 @@ _init (){
inst_has >/dev/null 2>&1
else
tools() {
local pkgs="bash zsh git curl make cmake gcc g++ rg docker composer node npm php jre python3 go cargo"
local pkgs=("bash" "zsh" "git" "curl" "make" "cmake" "gcc" "g++" "rg" "docker" "composer" "node" "npm" "php" "jre" "python3" "go" "cargo")
has $pkgs
}
fi