aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-02-01 18:52:03 -0600
committerToby Vincent <tobyv@tobyvin.dev>2024-02-01 18:52:03 -0600
commit844100e9706eec1e21fea9d0d5a18fc47edca7c8 (patch)
tree1ee1dae66cfc06e38096ebba08fb408f2cc7056b
parent54cc36c49ce0183d2417e717abd0f3ec6ee5aa13 (diff)
fix(sheldon): remove unused plugins
-rw-r--r--fzf/.config/zsh/.zshrc.d/50-fzf.zsh4
-rw-r--r--sheldon/.config/sheldon/plugins.toml15
2 files changed, 5 insertions, 14 deletions
diff --git a/fzf/.config/zsh/.zshrc.d/50-fzf.zsh b/fzf/.config/zsh/.zshrc.d/50-fzf.zsh
index c026139..82e24ab 100644
--- a/fzf/.config/zsh/.zshrc.d/50-fzf.zsh
+++ b/fzf/.config/zsh/.zshrc.d/50-fzf.zsh
@@ -8,3 +8,7 @@ _fzf_compgen_path() {
_fzf_compgen_dir() {
fd --type d --hidden --follow --exclude ".git" . "$1"
}
+
+if [ -r "/usr/share/fzf/completion.zsh" ]; then
+ source /usr/share/fzf/completion.zsh
+fi
diff --git a/sheldon/.config/sheldon/plugins.toml b/sheldon/.config/sheldon/plugins.toml
index 6551452..62b52dc 100644
--- a/sheldon/.config/sheldon/plugins.toml
+++ b/sheldon/.config/sheldon/plugins.toml
@@ -1,5 +1,5 @@
[templates]
-defer = '{{ hooks?.pre | nl }}{% for file in files %}zsh-defer source "{{ file }}"\n{% endfor %}{{ hooks?.post | nl }}'
+defer = "{{ hooks?.pre | nl }}{% for file in files %}zsh-defer source \"{{ file }}\"\n{% endfor %}{{ hooks?.post | nl }}"
base16_config = 'export BASE16_CONFIG_PATH="{{ dir }}"'
base16_fzf = 'export BASE16_FZF_PATH="{{ dir }}"'
@@ -15,22 +15,9 @@ github = "jeffreytse/zsh-vi-mode"
github = "zsh-users/zsh-autosuggestions"
use = ["{{ name }}.zsh"]
-[plugins.fzf]
-github = "junegunn/fzf"
-use = ["completion.zsh"]
-
[plugins.zsh-completions]
github = "zsh-users/zsh-completions"
-[plugins.zsh-pandoc-completion]
-github = "srijanshetty/zsh-pandoc-completion"
-apply = ["fpath"]
-
-[plugins.docker]
-github = "docker/cli"
-use = ["contrib/completion/zsh"]
-apply = ["fpath"]
-
[plugins.base16-shell]
github = "tinted-theming/base16-shell"
apply = ["defer", "base16_config"]