Small typo corrections

This commit is contained in:
Phil Clifford 2023-03-10 16:34:24 +00:00
parent 424e494c47
commit 4a51f55cd2
No known key found for this signature in database
GPG Key ID: 3B0A3BA167A07F7D

View File

@ -18,7 +18,7 @@ trap "exit" EXIT
if ! command -v fzf >/dev/null 2>&1; then if ! command -v fzf >/dev/null 2>&1; then
echo "You are missing fzf..." && exit 255 echo "You are missing fzf..." && exit 255
fi fi
# Dispaly version and prepared VMs # Display version and prepared VMs
#printf " $progname: $version\n quickemu: $(quickemu --version)\n\n Prepared VMs:\n-------------\n" #printf " $progname: $version\n quickemu: $(quickemu --version)\n\n Prepared VMs:\n-------------\n"
printf '%s: v.%s\nquickemu: v.%s\n\n Workdir: %s\n\n Prepared VMs:\n-------------\n' "$progname" "$version" "$(quickemu --version)" "$(pwd)" printf '%s: v.%s\nquickemu: v.%s\n\n Workdir: %s\n\n Prepared VMs:\n-------------\n' "$progname" "$version" "$(quickemu --version)" "$(pwd)"
# Check if there are any VMs # Check if there are any VMs
@ -86,11 +86,11 @@ Choose other language" | fzf --cycle)
fi fi
fi fi
# choose VM to run # choose VM to run
choosed=$(echo "$(ls *.conf 2>/dev/null | sed 's/\.conf$//')" | fzf --cycle --header='Choose VM to run chosen=$(echo "$(ls *.conf 2>/dev/null | sed 's/\.conf$//')" | fzf --cycle --header='Choose VM to run
or CTRL-c or ESC to quit') or CTRL-c or ESC to quit')
# Run choosed VM # Run chosen VM
printf '\n Starting %s...\n\n' "$choosed" printf '\n Starting %s...\n\n' "$chosen"
quickemu -vm "$choosed.conf" quickemu -vm "$chosen.conf"
exit 0 exit 0