This commit is contained in:
hl committed 2024-11-15 15:26:44 +08:00
1 parent 5b41a519d2
commit a9a9b0fe67
3 files changed
+4 -23

No files matched your search

+3 -5
View File
@@ -29,13 +29,11 @@ source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
bindkey -M menuselect "^[" undo
bindkey -M menuselect "\r" .accept-line
bindkey -M menuselect "^[[D" .accept-line
bindkey -M menuselect "^[[C" .accept-line
bindkey "^I" menu-select
bindkey -M menuselect "^I" menu-complete
bindkey -M menuselect "$terminfo[kcbt]" reverse-menu-complete
bindkey -M menuselect "^A" .accept-line
bindkey -M menuselect "^E" .accept-line
bindkey -M menuselect "^I" .accept-line
# The following lines were added by compinstall
zstyle ':completion:*' menu select
zstyle ':completion::complete:*' gain-privileges 1
+1 -17
View File
@@ -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
}
-1
View File
@@ -18,4 +18,3 @@ zsh-syntax-highlighting
iperf3
mosh
screen
zsh-completions