diff --git a/modules/zsh-autosuggestions/module.json b/modules/zsh-autosuggestions/module.json new file mode 100644 index 0000000..15da855 --- /dev/null +++ b/modules/zsh-autosuggestions/module.json @@ -0,0 +1,21 @@ +{ + "module": "zsh-autosuggestions", + "version": "1", + "capabilities": [ + "package-manager" + ], + "shell": [ + { + "for": "zsh", + "slot": "normal", + "code": "# Suggestions from history as you type, from the distribution's package.\n[[ ! -f /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh ]] || source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh\n" + } + ], + "resources": [ + { + "id": "package", + "type": "package", + "package": "zsh-autosuggestions" + } + ] +} diff --git a/modules/zsh-syntax-highlighting/module.json b/modules/zsh-syntax-highlighting/module.json new file mode 100644 index 0000000..66bea14 --- /dev/null +++ b/modules/zsh-syntax-highlighting/module.json @@ -0,0 +1,21 @@ +{ + "module": "zsh-syntax-highlighting", + "version": "1", + "capabilities": [ + "package-manager" + ], + "shell": [ + { + "for": "zsh", + "slot": "last", + "code": "# Syntax highlighting of the command line, from the distribution's package. Last, as upstream asks:\n# it wraps every widget defined before it.\n[[ ! -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] || source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh\n" + } + ], + "resources": [ + { + "id": "package", + "type": "package", + "package": "zsh-syntax-highlighting" + } + ] +}