update
This commit is contained in:
1 parent
5b41a519d2
commit
a9a9b0fe67
3 files changed
+4
-23
No files matched your search
@@ -98,21 +98,6 @@ Signed-By: /etc/apt/trusted.gpg.d/proxmox-release-$OS_CODE.gpg
|
||||
$command install -y ca-certificates curl gnupg lsb-release zsh
|
||||
|
||||
|
||||
if [[ $OS_VERSION=="12" ]]; then
|
||||
OS_VERSION="Testing"
|
||||
elif [[ $OS_VERSION=="13" ]]; then
|
||||
OS_VERSION="Unstable"
|
||||
fi
|
||||
|
||||
echo -e "Types: deb
|
||||
URIs: http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-completions/Debian_$OS_VERSION/
|
||||
Suites: /
|
||||
Signed-By: /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-completions.gpg
|
||||
" | tee /etc/apt/sources.list.d/zsh-completions.sources
|
||||
curl -fsSL "https://download.opensuse.org/repositories/shells:zsh-users:zsh-completions/Debian_$OS_VERSION/Release.key" | \
|
||||
gpg --dearmor | tee /etc/apt/trusted.gpg.d/shells_zsh-users_zsh-completions.gpg > /dev/null
|
||||
|
||||
|
||||
if [ $FOR_PVE -eq 0 ]; then
|
||||
echo -e "Types: deb
|
||||
URIs: $DOCKER_URL
|
||||
@@ -152,8 +137,7 @@ Architectures: $OS_ARCH
|
||||
sed -i -E "s/#compinit/compinit/g" $HOME/.zshrc
|
||||
sed -i -E "s/.*zoxide.*//g" $HOME/.zshrc
|
||||
else
|
||||
git -C /usr/share clone --depth 1 https://git.tink.ltd:8443/tink/zsh-autocomplete.git 2>/dev/null || \
|
||||
git -C /usr/share/zsh-autocomplete pull
|
||||
$SCRIPTPATH/install-release.sh -r marlonrichert/zsh-autocomplete -k tarball -p /usr/share/zsh-autocomplete -d 0 -o autocomplete.tar.gz
|
||||
$SCRIPTPATH/install-release.sh -r ajeetdsouza/zoxide -m x86_64-unknown -p /usr/local/bin -n zoxide -f
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user