Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jandamm/zgenom-ext-eval
Evaluate commands and create ad hoc plugins
https://github.com/jandamm/zgenom-ext-eval
shell zgenom zsh
Last synced: about 2 months ago
JSON representation
Evaluate commands and create ad hoc plugins
- Host: GitHub
- URL: https://github.com/jandamm/zgenom-ext-eval
- Owner: jandamm
- License: gpl-3.0
- Created: 2021-11-24T22:49:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-04T21:11:35.000Z (about 1 year ago)
- Last Synced: 2024-04-11T15:03:53.543Z (about 2 months ago)
- Topics: shell, zgenom, zsh
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - zgenom-ext-eval - Zgenom extension for creating plugins inline. (Plugins / ZSH on Windows)
README
# Zgenom Extension for creating plugins inline
Big thanks to [zoritle](https://github.com/zoritle) for the idea and [initial
implementation](https://github.com/jandamm/zgenom/issues/84#issuecomment-966037290).- Add plugin configuration right next to loading the plugins.
- Generate plugins by evaluating commands (e.g. zoxide init script) and have a
faster startup timeYou need to use it with [zgenom](https://github.com/jandamm/zgenom).
## Example
```zsh
source "${HOME}/.zgenom/zgenom.zsh"zgenom autoupdate --background
if ! zgenom saved; then
zgenom load jandamm/zgenom-ext-eval# Create a plugin which greats the world and name the plugin 'welcome'
zgenom eval --name welcome echo hello world# Load zsh history search and create bindings for it
zgenom load zsh-users/zsh-history-substring-search
zgenom eval <