made the cmd function support autocomplete

This commit is contained in:
Kjistóf 2017-10-09 14:15:32 +02:00
parent 8d1ea41c79
commit d2cda8d290

View File

@ -46,7 +46,7 @@ function cmd()
{
while : ; do
prompt
read command
read -e command
[ "$command" != "end" ] && eval "${command}" || break
[ "$1" ] && break
done