some breaking changes?
This commit is contained in:
parent
ac13df165b
commit
079f41f131
1 changed files with 15 additions and 0 deletions
15
.zshrc
15
.zshrc
|
@ -79,6 +79,21 @@ _init (){
|
|||
local zAutosg="$zconf/autosuggestions/zsh-autosuggestions.zsh"
|
||||
[[ -f "$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(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue