qemush : fonction add -> edit, ouverture d'un editor à la place

This commit is contained in:
Hippolyte Chauvin 2023-11-29 14:33:20 +01:00
parent fd8cb0c2c6
commit 85e31307ec

View file

@ -12,6 +12,8 @@ exec_as() {
} }
exec_as qemu "$@" || exit exec_as qemu "$@" || exit
bin=bin
PATH="./bin:${PATH}" PATH="./bin:${PATH}"
perror() { perror() {
@ -80,8 +82,8 @@ public_diskls() {
ls --color=auto images ls --color=auto images
} }
public_add() { public_edit() {
ln -vs "$2" "bin/${1}" "$EDITOR" "${bin}/${1}"
} }
public_rm() { public_rm() {