Return to menu after completion

This commit is contained in:
David Heinemeier Hansson
2024-06-13 12:26:19 +02:00
parent 056c03d774
commit e10f1cdfb3
3 changed files with 5 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
HELP=$(gum choose "Hotkeys" "Commands" "Tactile" --header "What do you need help with?" --height 5 | tr '[:upper:]' '[:lower:]')
[ -n "$HELP" ] && gum pager --soft-wrap <$OMAKUB_PATH/help/$HELP.md
source $OMAKUB_PATH/bin/omakub-menu

View File

@@ -1,2 +1,4 @@
INSTALLER=$(gum file $OMAKUB_PATH/install)
[ -n "$INSTALLER" ] && gum confirm "Run installer?" && source $INSTALLER
clear
source $OMAKUB_PATH/bin/omakub

View File

@@ -1,2 +1,4 @@
UNINSTALLER=$(gum file $OMAKUB_PATH/uninstall)
[ -n "$UNINSTALLER" ] && gum confirm "Run uninstaller?" && source $UNINSTALLER
clear
source $OMAKUB_PATH/bin/omakub