From 718f450b97d57234dc0c801c76b856b6b615cde6 Mon Sep 17 00:00:00 2001 From: Kyure_A <49436968+Kyure-A@users.noreply.github.com> Date: Tue, 30 Jul 2024 20:19:04 +0900 Subject: [PATCH] sheldon: fix setting to simple --- tests/modules/programs/sheldon/default.nix | 38 --------------- tests/modules/programs/sheldon/plugins.toml | 53 --------------------- 2 files changed, 91 deletions(-) diff --git a/tests/modules/programs/sheldon/default.nix b/tests/modules/programs/sheldon/default.nix index c8f15055..eba78f42 100644 --- a/tests/modules/programs/sheldon/default.nix +++ b/tests/modules/programs/sheldon/default.nix @@ -5,48 +5,10 @@ settings = { shell = "zsh"; plugins = { - async = { - local = "~/.config/sheldon/async"; - use = [ "*.zsh" ]; - apply = [ "defer" ]; - }; - sync = { - local = "~/.config/sheldon/sync"; - use = [ "*.zsh" ]; - apply = [ "source" ]; - }; - zsh-defer = { - github = "romkatv/zsh-defer"; - apply = [ "source" ]; - }; - add-zsh-hook = { inline = "autoload -U add-zsh-hook"; }; - anyframe = { github = "mollifier/anyframe"; }; - colors = { inline = "autoload -U colors && zsh-defer colors"; }; - compinit = { - inline = "autoload -U compinit && zsh-defer compinit -C"; - }; - fzf = { github = "junegunn/fzf"; }; - predict = { inline = "autoload -U predict-on && predict-on"; }; - starship = { - inline = '' - eval "$(starship init zsh)" - ''; - }; - zcalc = { inline = "autoload -U zcalc"; }; - zsh-async = { github = "mafredri/zsh-async"; }; - zsh-complations = { - github = "zsh-users/zsh-completions"; - apply = [ "defer" ]; - }; - zsh-history-substring-search = { - github = "zsh-users/zsh-history-substring-search"; - apply = [ "defer" ]; - }; zsh-syntax-highlighting = { github = "zsh-users/zsh-syntax-highlighting"; apply = [ "defer" ]; }; - zsh-terminfo = { inline = "zmodload zsh/terminfo"; }; }; templates = { defer = '' diff --git a/tests/modules/programs/sheldon/plugins.toml b/tests/modules/programs/sheldon/plugins.toml index 9be6c938..f40b27cf 100644 --- a/tests/modules/programs/sheldon/plugins.toml +++ b/tests/modules/programs/sheldon/plugins.toml @@ -1,60 +1,7 @@ shell = "zsh" -[plugins] -[plugins.add-zsh-hook] -inline = "autoload -U add-zsh-hook" - -[plugins.anyframe] -github = "mollifier/anyframe" - -[plugins.async] -apply = ["defer"] -local = "~/.config/sheldon/async" -use = ["*.zsh"] - -[plugins.colors] -inline = "autoload -U colors && zsh-defer colors" - -[plugins.compinit] -inline = "autoload -U compinit && zsh-defer compinit -C" - -[plugins.fzf] -github = "junegunn/fzf" - -[plugins.predict] -inline = "autoload -U predict-on && predict-on" - -[plugins.starship] -inline = "eval \"$(starship init zsh)\"\n" - -[plugins.sync] -apply = ["source"] -local = "~/.config/sheldon/sync" -use = ["*.zsh"] - -[plugins.zcalc] -inline = "autoload -U zcalc" - -[plugins.zsh-async] -github = "mafredri/zsh-async" - -[plugins.zsh-complations] -apply = ["defer"] -github = "zsh-users/zsh-completions" - -[plugins.zsh-defer] -apply = ["source"] -github = "romkatv/zsh-defer" - -[plugins.zsh-history-substring-search] -apply = ["defer"] -github = "zsh-users/zsh-history-substring-search" - [plugins.zsh-syntax-highlighting] apply = ["defer"] github = "zsh-users/zsh-syntax-highlighting" -[plugins.zsh-terminfo] -inline = "zmodload zsh/terminfo" - [templates] defer = "{{ hooks | get: \"pre\" | nl }}{% for file in files %}zsh-defer source \"{{ file }}\"\n{% endfor %}{{ hooks | get: \"post\" | nl }}"