[ZSH] Actually use shared plugins file
This commit is contained in:
@@ -14,7 +14,6 @@ ohmyzsh/ohmyzsh path:plugins/command-not-found
|
|||||||
|
|
||||||
romkatv/powerlevel10k
|
romkatv/powerlevel10k
|
||||||
zsh-users/zsh-syntax-highlighting
|
zsh-users/zsh-syntax-highlighting
|
||||||
zsh-users/zsh-autosuggestions
|
|
||||||
zsh-users/zsh-completions
|
zsh-users/zsh-completions
|
||||||
zsh-users/zsh-history-substring-search
|
zsh-users/zsh-history-substring-search
|
||||||
urbainvaes/fzf-marks
|
urbainvaes/fzf-marks
|
||||||
|
|||||||
@@ -10,7 +10,11 @@ export PATH="$HOME/.local/bin:$PATH"
|
|||||||
# Load Antidote
|
# Load Antidote
|
||||||
mkdir -p ${ZDOTDIR:-~}/.cache/zsh
|
mkdir -p ${ZDOTDIR:-~}/.cache/zsh
|
||||||
static_file=${ZDOTDIR:-~}/.cache/zsh/.zsh_plugins.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
|
# clone antidote if necessary
|
||||||
if ! [[ -e ${ZDOTDIR:-~}/.antidote ]]; then
|
if ! [[ -e ${ZDOTDIR:-~}/.antidote ]]; then
|
||||||
git clone https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote
|
git clone https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote
|
||||||
|
|||||||
Reference in New Issue
Block a user