From d3d7d8636ba1af71378ff37f77365037799cd34e Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Wed, 23 Sep 2026 10:06:10 -0400 Subject: [PATCH] add back zsh plugin direct fetch for termux --- .chezmoiexternal.toml | 16 ---------------- .chezmoiexternal.toml.tmpl | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 16 deletions(-) delete mode 100644 .chezmoiexternal.toml create mode 100644 .chezmoiexternal.toml.tmpl diff --git a/.chezmoiexternal.toml b/.chezmoiexternal.toml deleted file mode 100644 index 0445c44..0000000 --- a/.chezmoiexternal.toml +++ /dev/null @@ -1,16 +0,0 @@ -[".config/kitty/kitty-gruvbox-theme"] -type = "archive" -url = "https://github.com/wdomitrz/kitty-gruvbox-theme/archive/master.tar.gz" -exact = false -stripComponents = 1 -refreshPeriod = "168h" - -[".config/variety/plugins/verse.py"] -type = "file" -url = "https://raw.githubusercontent.com/Crissium/variety-daily-verse/master/verse.py" -refreshPeriod = "168h" - -[".local/share/xxtools"] -type = "git-repo" -url = "https://github.com/Piraty/xxtools.git" -refreshPeriod = "168h" diff --git a/.chezmoiexternal.toml.tmpl b/.chezmoiexternal.toml.tmpl new file mode 100644 index 0000000..ab8e74e --- /dev/null +++ b/.chezmoiexternal.toml.tmpl @@ -0,0 +1,38 @@ +[".config/kitty/kitty-gruvbox-theme"] +type = "archive" +url = "https://github.com/wdomitrz/kitty-gruvbox-theme/archive/master.tar.gz" +exact = false +stripComponents = 1 +refreshPeriod = "168h" + +[".config/variety/plugins/verse.py"] +type = "file" +url = "https://raw.githubusercontent.com/Crissium/variety-daily-verse/master/verse.py" +refreshPeriod = "168h" + +[".local/share/xxtools"] +type = "git-repo" +url = "https://github.com/Piraty/xxtools.git" +refreshPeriod = "168h" + +{{ if env "ANDROID_ROOT" }} +# Termux doesn't package these zsh plugins individually (unlike our Linux +# machines, which get them from Nix via home-manager), so fetch them directly. +# dot_zshrc's plugin-sourcing loop already checks +# "$HOME/.local/share/$plugin/$plugin.zsh", which is exactly where a plain +# git clone of each plugin's repo puts the file we need. +[".local/share/zsh-autosuggestions"] +type = "git-repo" +url = "https://github.com/zsh-users/zsh-autosuggestions.git" +refreshPeriod = "168h" + +[".local/share/zsh-syntax-highlighting"] +type = "git-repo" +url = "https://github.com/zsh-users/zsh-syntax-highlighting.git" +refreshPeriod = "168h" + +[".local/share/zsh-history-substring-search"] +type = "git-repo" +url = "https://github.com/zsh-users/zsh-history-substring-search.git" +refreshPeriod = "168h" +{{ end }}