diff options
-rwxr-xr-x | kvmx | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1780,6 +1780,8 @@ function kvmx_shell { # While a "quit" command isn't entered, read STDIN while read -rep "kvmx:/${USER}@${VM}> " STDIN; do + history -s "$STDIN" + if [ "$STDIN" == "quit" ] || [ "$STDIN" == "exit" ] || [ "$STDIN" == "bye" ]; then break elif [ "$STDIN" == "shell" ]; then |