Crates.io | zlelaunch |
lib.rs | zlelaunch |
version | 0.1.0 |
source | src |
created_at | 2023-03-07 09:51:50.44038 |
updated_at | 2023-03-07 09:51:50.44038 |
description | yaml-configured command launcher for zsh |
homepage | |
repository | https://github.com/acrn/zlelaunch |
max_upload_size | |
id | 803460 |
size | 9,847 |
yaml-configured command launcher for zsh
Install and add to .zshrc:
ctrl_e_menu() { zle -U "$(read -ek | zlelaunch .ctrl_e.yml)
" }
zle -N ctrl_e_menu
bindkey '^e' ctrl_e_menu
Press <ctrl>+e
to bring up the list of commands, press indicated keys to execute.
a cargo test --examples --frozen
c cargo clippy --no-deps
z vim .ctrl_e.yml
The configuration file should be a list where each entry is either a string or a map
with the keys command
and optionally key
- cargo test --examples --frozen
- key: c
command: cargo clippy --no-deps