some breaking changes?

This commit is contained in:
pika 2024-08-24 22:15:46 +02:00
parent ac13df165b
commit 079f41f131

15
.zshrc
View file

@ -79,6 +79,21 @@ _init (){
local zAutosg="$zconf/autosuggestions/zsh-autosuggestions.zsh" local zAutosg="$zconf/autosuggestions/zsh-autosuggestions.zsh"
[[ -f "$zAutosg" ]] && [[ -f "$zAutosg" ]] &&
. $zAutosg . $zAutosg
p_has() {
if ! command_exists has; then
inst_has() {
git clone https://github.com/kdabir/has.git /tmp/has && cd /tmp/has && sudo make install
}
echo_info "Installing has"
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"
has $pkgs
}
fi
}
p_has
} }
_alias(){ _alias(){