Added
the-way cmd
allows adding shell snippets without asking for the language.
Also, it takes the code as an argument so can be used in a shell function to automatically add the last used command for instance.- shell snippets can have user-controlled variables inside using
<param>
and<param=value>
.
These are queried interactively from the user whenever the snippet is selected (withsearch
orcp
)
Changed
- old snippet information is now editable in
the-way edit
(arrow key navigation still doesn't work, waiting on the next dialoguer release)