From 9352ac948e784dcd3d9712ff83e763ae89c4f401 Mon Sep 17 00:00:00 2001 From: Fabian Ising Date: Tue, 6 Sep 2022 10:50:17 +0200 Subject: [PATCH] Switch to antidote plugin manager --- zsh/.zshrc | 43 ++++++++----------------------------------- zsh/antigen | 1 - 2 files changed, 8 insertions(+), 36 deletions(-) delete mode 160000 zsh/antigen diff --git a/zsh/.zshrc b/zsh/.zshrc index ea772ee..bfe8be9 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -12,47 +12,20 @@ export PATH="$HOME/.local/bin:$PATH" [[ -f /usr/share/doc/find-the-command/ftc.zsh ]] && source /usr/share/doc/find-the-command/ftc.zsh [[ -f ~/.zsh/.local_config ]] && source ~/.zsh/.local_config -# Load Antigen setopt interactivecomments setopt HIST_IGNORE_SPACE -export ANTIGEN_COMPINIT_OPTS="-i" -source ~/.zsh/antigen/antigen.zsh - # Clear screen by ctrl+q bindkey '^q' clear-screen +# Load Antigen +# clone antidote if necessary +if ! [[ -e ${ZDOTDIR:-~}/.antidote ]]; then + git clone https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote +fi -# Load various lib files -antigen use oh-my-zsh +# source antidote and load plugins from `${ZDOTDIR:-~}/.zsh_plugins.txt` +source ${ZDOTDIR:-~}/.antidote/antidote.zsh +antidote load -# Antigen Theme -antigen theme romkatv/powerlevel10k powerlevel10k - -# Antigen Bundles - -antigen bundle git -antigen bundle heroku -#antigen bundle command-not-found -antigen bundle go - -# antigen bundle tmuxinator -antigen bundle zsh-users/zsh-syntax-highlighting -antigen bundle zsh-users/zsh-autosuggestions -antigen bundle zsh-users/zsh-completions -antigen bundle urbainvaes/fzf-marks - -# For SSH, starting ssh-agent is annoying -antigen bundle ssh-agent - -# Python Plugins -antigen bundle pip -antigen bundle python -antigen bundle virtualenv - -antigen bundle virtualenv - -antigen bundle "greymd/docker-zsh-completion" - -antigen apply alias vim=nvim alias sudo='sudo ' export EDITOR='nvim' diff --git a/zsh/antigen b/zsh/antigen deleted file mode 160000 index 8846aa9..0000000 --- a/zsh/antigen +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8846aa902047992e86816cbd941acc86646bd83b