Compare commits

..

No commits in common. "accfd4408d48bb857f3c92f399f22ce3a09e9fb4" and "af796e700613643f1bfeef96bf5ad24369439dfe" have entirely different histories.

2 changed files with 4 additions and 4 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 : this repo via the following command :
```sh ```sh
qemush do 'mkdir -p ~/bin && cp -v qemu/bin/* "$_"' qemush run 'mkdir -p ~/bin && cp -v qemu/bin/* "$_"'
``` ```
### Extra: add `first-free-port` in `PATH` ### Extra: add `first-free-port` in `PATH`

View file

@ -47,7 +47,7 @@ ${name}: usage:
${name} shell - start a shell as user qemu ${name} shell - start a shell as user qemu
${name} help - show this help ${name} help - show this help
${name} add <path to script> [<VM name>] - add a launching script ${name} add <path to script> [<VM name>] - add a launching script
${name} do <command> - run shell input as user qemu ${name} run <command> - run shell input as user qemu
${name} depcheck - check if script dependencies are met ${name} depcheck - check if script dependencies are met
EOF EOF
} }
@ -120,7 +120,7 @@ public_add() {
trap - EXIT trap - EXIT
} }
public_do() { public_run() {
exec sh -c "$*" exec sh -c "$*"
} }
@ -129,7 +129,7 @@ bold_print() {
} }
public_depcheck() { public_depcheck() {
for i in diskpath screen source-highlight ls rm cp chmod cat; do for i in diskpath screen diskpath source-highlight ls rm cp chmod cat; do
if command -v "$i" > /dev/null; then if command -v "$i" > /dev/null; then
bold_print '1;32' OK "$i" bold_print '1;32' OK "$i"
else else