update
This commit is contained in:
parent
5b04110307
commit
42b58938bb
11
init.sh
11
init.sh
@ -114,8 +114,15 @@ deb $SEC_URL $OS_CODE-security main contrib non-free non-free-firmware
|
||||
cp "$SCRIPTPATH/TINK-CA.crt" /usr/local/share/ca-certificates
|
||||
update-ca-certificates
|
||||
|
||||
git -C /usr/share clone --depth 1 https://git.tink.ltd:8443/tink/zsh-autocomplete.git || true
|
||||
$SCRIPTPATH/update-github-release.sh -p /usr/local/bin -n zoxide -r ajeetdsouza/zoxide -m x86_64-unknown -v -V
|
||||
if [ $FOR_PVE -eq 1 ]; then
|
||||
sed -i -r "s/.*zsh-autocomplete.*//g" $HOME/.zshrc
|
||||
sed -i -r "s/#autoload -Uz compinit/autoload -Uz compinit/g" $HOME/.zshrc
|
||||
sed -i -r "s/#compinit/#compinit/g" $HOME/.zshrc
|
||||
sed -i -r "s/.*zoxide.*//g" $HOME/.zshrc
|
||||
else
|
||||
git -C /usr/share clone --depth 1 https://git.tink.ltd:8443/tink/zsh-autocomplete.git || true
|
||||
$SCRIPTPATH/update-github-release.sh -p /usr/local/bin -n zoxide -r ajeetdsouza/zoxide -m x86_64-unknown -v -V
|
||||
fi
|
||||
}
|
||||
|
||||
install_pkg(){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user