Error timeout when opening default gnome terminal profile

This commit is contained in:
John Mertz 2022-12-12 22:59:57 -05:00
parent 8baee20c35
commit 8027fc207c
1 changed files with 13 additions and 0 deletions

13
distrobox/invalid-terminal.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
echo "Invalid terminal session. Please use hotkeys to access an existing Distrobox or Host Terminal."
echo ""
echo "Available Distrobox sessions, with matching gnome-terminal profiles, are:"
echo ""
distrobox list | grep -v 'IMAGE' | cut -d '|' -f 2
for i in 10 9 8 7 6 5 4 3 2 1; do
printf "\rExitting in $i ..."
sleep 1
done
echo ""
exit