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
bin=bin
PATH="./bin:${PATH}"
perror() {
@ -80,8 +82,8 @@ public_diskls() {
ls --color=auto images
}
public_add() {
ln -vs "$2" "bin/${1}"
public_edit() {
"$EDITOR" "${bin}/${1}"
}
public_rm() {