(.zshrc, install.sh): streamline zsh-autosuggestions plugin configuration and remove marker installation logic

This commit is contained in:
Frank Qing
2025-05-28 01:28:46 +08:00
parent bf1f1c0cbb
commit 4b401aa1cb
2 changed files with 2 additions and 12 deletions

4
.zshrc
View File

@@ -62,7 +62,7 @@ ZSH_THEME="powerlevel10k/powerlevel10k"
# Add wisely, as too many plugins slow down shell startup.
plugins=(
# zsh-completions INSTALL METHOD CHANGED https://github.com/zsh-users/zsh-completions/issues/603
zsh-autosuggestions # Disable if you are using Marker, otherwise enable
zsh-autosuggestions
zsh-syntax-highlighting
history-substring-search
systemd
@@ -134,7 +134,7 @@ plugins=(
# NPM_PACKAGES="${HOME}/.npm"
# PATH="$NPM_PACKAGES/bin:$PATH"
[[ -s "$HOME/.marker/marker.sh" ]] && source "$HOME/.marker/marker.sh"
fpath+=$ZSH/custom/plugins/zsh-completions/src
autoload -U compinit && compinit -C -d ~/.cache/zsh/.zcompdump # zsh-completions