update
This commit is contained in:
1 parent
5b04110307
commit
42b58938bb
1 file changed
+9
-2
@@ -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
|
cp "$SCRIPTPATH/TINK-CA.crt" /usr/local/share/ca-certificates
|
||||||
update-ca-certificates
|
update-ca-certificates
|
||||||
|
|
||||||
git -C /usr/share clone --depth 1 https://git.tink.ltd:8443/tink/zsh-autocomplete.git || true
|
if [ $FOR_PVE -eq 1 ]; then
|
||||||
$SCRIPTPATH/update-github-release.sh -p /usr/local/bin -n zoxide -r ajeetdsouza/zoxide -m x86_64-unknown -v -V
|
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(){
|
install_pkg(){
|
||||||
|
|||||||
Reference in new issue
Block a user