qemush : fonction run -> do

This commit is contained in:
Ahurac 2023-12-08 11:49:32 +01:00
parent af796e7006
commit ac443d280a
2 changed files with 3 additions and 3 deletions

View file

@ -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`

View file

@ -47,7 +47,7 @@ ${name}: usage:
${name} shell - start a shell as user qemu
${name} help - show this help
${name} add <path to script> [<VM name>] - add a launching script
${name} run <command> - run shell input as user qemu
${name} do <command> - 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 "$*"
}