zsh-completion-sync: add updateScript (#515525)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
stdenvNoCC,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
@@ -23,6 +24,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
install -D zsh-completion-sync.plugin.zsh $out/share/zsh-completion-sync/zsh-completion-sync.plugin.zsh
|
||||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Automatically loads completions added dynamically to FPATH or XDG_DATA_DIRS";
|
||||
homepage = "https://github.com/BronzeDeer/zsh-completion-sync";
|
||||
|
||||
Reference in New Issue
Block a user