readded option to cmd to read a single command

This commit is contained in:
Kjistóf 2017-10-08 21:05:21 +02:00
parent cbae5e29ff
commit 186be90a7a
1 changed files with 1 additions and 0 deletions

View File

@ -40,5 +40,6 @@ function cmd()
prompt
read command
[ "$command" != "end" ] && eval "${command}" || break
[ "$1" ] && break
done
}