AutoYADM commit: 2025-06-17 20:47:57

This commit is contained in:
Daniel Fichtinger 2025-06-17 20:47:57 -04:00
parent 1f952af0ed
commit 80c399ee03
16 changed files with 476 additions and 131 deletions

View file

@ -1,8 +1,9 @@
define-command -docstring %{
sh [switches] <args>: Run the given shell command. Display its output in an info modal.
shell-command [switches] <args>: Run the given shell command. Display
its output in an info modal.
Switches:
-d echo stdout to *debug* buffer
} -params 1.. sh %{
-d echo stdout to *debug* buffer as well
} -params 1.. shell-command %{
evaluate-commands %sh{
if [ "$1" = "-d" ]; then
debug="true"
@ -15,3 +16,5 @@ define-command -docstring %{
fi
}
}
alias global sh shell-command
alias global ! shell-command