From efdebbc17b3beedc7b6c63f15857a4448ee5d4b8 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 15 Feb 2023 13:01:02 -0600 Subject: [PATCH] move plugins outside plugins directory --- .gitignore | 4 ++-- home/.chezmoiexternal.yaml | 14 +++++++------- lib/plugins.zsh | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 9effff1..bb2b790 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ - # Created by https://www.toptal.com/developers/gitignore/api/python # Edit at https://www.toptal.com/developers/gitignore?templates=python @@ -159,4 +158,5 @@ cython_debug/ # End of https://www.toptal.com/developers/gitignore/api/python .task.mk -lib/plugins/ +plugins/ + diff --git a/home/.chezmoiexternal.yaml b/home/.chezmoiexternal.yaml index 48ea4d8..f963c50 100644 --- a/home/.chezmoiexternal.yaml +++ b/home/.chezmoiexternal.yaml @@ -1,33 +1,33 @@ -.dotfiles/lib/plugins/base16: +.dotfiles/plugins/base16: rereshPeriod: 168h type: git-repo url: https://github.com/chriskempson/base16-shell.git -.dotfiles/lib/plugins/zsh-defer: +.dotfiles/plugins/zsh-defer: rereshPeriod: 168h type: git-repo url: https://github.com/romkatv/zsh-defer.git -.dotfiles/lib/plugins/zsh-syntax-highlighting: +.dotfiles/plugins/zsh-syntax-highlighting: rereshPeriod: 168h type: git-repo url: https://github.com/zsh-users/zsh-syntax-highlighting.git -.dotfiles/lib/plugins/fzf-tab: +.dotfiles/plugins/fzf-tab: rereshPeriod: 168h type: git-repo url: https://github.com/Aloxaf/fzf-tab.git -.dotfiles/lib/plugins/oh-my-zsh: +.dotfiles/plugins/oh-my-zsh: type: archive url: https://github.com/ohmyzsh/ohmyzsh/archive/master.tar.gz stripComponents: 2 refreshPeriod: 168h include: - - "*/lib/{clipboard,completion}.zsh" + - "*/{clipboard,completion}.zsh" - "*/plugins/{dotenv,extract}/**" -.dotfiles/lib/plugins/fzf: +.dotfiles/plugins/fzf: type: archive # type: git-repo url: https://github.com/junegunn/fzf/archive/master.tar.gz diff --git a/lib/plugins.zsh b/lib/plugins.zsh index b7a38b9..c101804 100755 --- a/lib/plugins.zsh +++ b/lib/plugins.zsh @@ -1,6 +1,6 @@ #!/usr/bin/env zsh -PLUGINS_DIR=$DOTFILES_DIR/lib/plugins +PLUGINS_DIR=$DOTFILES_DIR/plugins source $PLUGINS_DIR/zsh-defer/zsh-defer.plugin.zsh