(.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. # Add wisely, as too many plugins slow down shell startup.
plugins=( plugins=(
# zsh-completions INSTALL METHOD CHANGED https://github.com/zsh-users/zsh-completions/issues/603 # 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 zsh-syntax-highlighting
history-substring-search history-substring-search
systemd systemd
@@ -134,7 +134,7 @@ plugins=(
# NPM_PACKAGES="${HOME}/.npm" # NPM_PACKAGES="${HOME}/.npm"
# PATH="$NPM_PACKAGES/bin:$PATH" # PATH="$NPM_PACKAGES/bin:$PATH"
[[ -s "$HOME/.marker/marker.sh" ]] && source "$HOME/.marker/marker.sh"
fpath+=$ZSH/custom/plugins/zsh-completions/src fpath+=$ZSH/custom/plugins/zsh-completions/src
autoload -U compinit && compinit -C -d ~/.cache/zsh/.zcompdump # zsh-completions autoload -U compinit && compinit -C -d ~/.cache/zsh/.zcompdump # zsh-completions

View File

@@ -189,17 +189,7 @@ else
git clone --depth 1 https://github.com/Aloxaf/fzf-tab $ZSH/custom/plugins/fzf-tab git clone --depth 1 https://github.com/Aloxaf/fzf-tab $ZSH/custom/plugins/fzf-tab
fi fi
if [ -d ~/.marker ]; then
cd ~/.marker && git pull
else
git clone --depth 1 https://github.com/jotyGill/marker ~/.marker
fi
if ~/.marker/install.py; then
echo -e "Installed Marker\n"
else
echo -e "Marker Installation Had Issues\n"
fi
# if git clone --depth 1 https://github.com/todotxt/todo.txt-cli.git ~/.config/ezsh/todo; then : # if git clone --depth 1 https://github.com/todotxt/todo.txt-cli.git ~/.config/ezsh/todo; then :
# else # else