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 "$*" }