From ac443d280a56de65703b1d2cda6838439095dff8 Mon Sep 17 00:00:00 2001 From: Ahurac Date: Fri, 8 Dec 2023 11:49:32 +0100 Subject: [PATCH] qemush : fonction run -> do --- README.md | 2 +- bin/qemush | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6163417..949f4dc 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ folder located at `~qemu/bin`. You can add them directly via `qemush` from this repo via the following command : ```sh -qemush run 'mkdir -p ~/bin && cp -v qemu/bin/* "$_"' +qemush do 'mkdir -p ~/bin && cp -v qemu/bin/* "$_"' ``` ### Extra: add `first-free-port` in `PATH` diff --git a/bin/qemush b/bin/qemush index 2c7ade0..3d2842c 100755 --- a/bin/qemush +++ b/bin/qemush @@ -47,7 +47,7 @@ ${name}: usage: ${name} shell - start a shell as user qemu ${name} help - show this help ${name} add [] - add a launching script - ${name} run - run shell input as user qemu + ${name} do - run shell input as user qemu ${name} depcheck - check if script dependencies are met EOF } @@ -120,7 +120,7 @@ public_add() { trap - EXIT } -public_run() { +public_do() { exec sh -c "$*" }