From 4b401aa1cb0c2d5956f10abbf7cbf2a56dbb4776 Mon Sep 17 00:00:00 2001 From: Frank Qing Date: Wed, 28 May 2025 01:28:46 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(.zshrc,=20install.sh):=20streamlin?= =?UTF-8?q?e=20zsh-autosuggestions=20plugin=20configuration=20and=20remove?= =?UTF-8?q?=20marker=20installation=20logic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .zshrc | 4 ++-- install.sh | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.zshrc b/.zshrc index 2db3f35..02649be 100644 --- a/.zshrc +++ b/.zshrc @@ -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 diff --git a/install.sh b/install.sh index 939b653..8bc7f93 100755 --- a/install.sh +++ b/install.sh @@ -189,17 +189,7 @@ else git clone --depth 1 https://github.com/Aloxaf/fzf-tab $ZSH/custom/plugins/fzf-tab 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 : # else