diff --git a/zsh/.zsh_plugins_shared.txt b/zsh/.zsh_plugins_shared.txt index cfe5456..f9d66b6 100644 --- a/zsh/.zsh_plugins_shared.txt +++ b/zsh/.zsh_plugins_shared.txt @@ -14,7 +14,6 @@ ohmyzsh/ohmyzsh path:plugins/command-not-found romkatv/powerlevel10k zsh-users/zsh-syntax-highlighting -zsh-users/zsh-autosuggestions zsh-users/zsh-completions zsh-users/zsh-history-substring-search urbainvaes/fzf-marks diff --git a/zsh/.zshrc b/zsh/.zshrc index c916cce..4091e60 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -10,7 +10,11 @@ export PATH="$HOME/.local/bin:$PATH" # Load Antidote mkdir -p ${ZDOTDIR:-~}/.cache/zsh static_file=${ZDOTDIR:-~}/.cache/zsh/.zsh_plugins.zsh -plugins_txt=${ZDOTDIR:-~}/.zsh/.zsh_plugins.txt +if [[ ! -f ~/.zsh/.shared_config ]]; then + plugins_txt=${ZDOTDIR:-~}/.zsh/.zsh_plugins.txt +else + plugins_txt=${ZDOTDIR:-~}/.zsh/.zsh_plugins_shared.txt +fi # clone antidote if necessary if ! [[ -e ${ZDOTDIR:-~}/.antidote ]]; then git clone https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote