Shell Out is a plugin for the micro text editor that runs the current line as a shell command and insert the output below.
Write a shell command on a line, place your cursor on it, and run:
Ctrl-Alt-b
Or via command prompt:
shout
The output of the command is inserted directly below the current line. The cursor moves to the end of the output.
- Output is not modified in any way.
- Lines with only whitespace are ignored.
- If the command is at the end of the buffer and has no newline, one is prepended to prevent merging.
Place the plugin folder in ~/.config/micro/plug/shout/, or clone it directly
from the GitHub repository:
mkdir -p ~/.config/micro/plug
git clone https://github.com/micro-garden/shout-plugin ~/.config/micro/plug/shoutAlternatively, this plugin is also available through the unofficial plugin
channel:
https://github.com/micro-garden/unofficial-plugin-channel
You can install it by adding the channel and then using plugin install.
MIT.
Aki Kareha (aki@kareha.org)