From 8cbadb61604667b407b53ee1258433994fa4765a Mon Sep 17 00:00:00 2001 From: coasteen Date: Thu, 9 Jul 2026 10:42:28 +0330 Subject: init --- local/bin/grubfk | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 local/bin/grubfk (limited to 'local/bin/grubfk') diff --git a/local/bin/grubfk b/local/bin/grubfk new file mode 100755 index 0000000..06a87f5 --- /dev/null +++ b/local/bin/grubfk @@ -0,0 +1,29 @@ +#!/bin/zsh + +grub_screen() { + clear + echo -e "\n\n\t GNU GRUB 2.06" + echo -e "\n" + echo -e "\t Minimal BASH-like line editing is supported. For the first word, TAB" + echo -e "\t lists possible command completions. Anywhere else TAB lists possible" + echo -e "\t device or file completions." + echo -e "\n" +} + +grub_screen + +# Fake GRUB prompt +while true; do + echo -ne " grub> " + read -r command + case $command in + exit|quit) + clear + break + ;; + *) + echo -e "\t Unknown command. Press a key to continue..." + read -r dummy + ;; + esac +done -- cgit v1.2.3