Make commands more resilient

This commit is contained in:
David Heinemeier Hansson
2024-06-03 15:32:02 -07:00
parent 07894acedd
commit 87dc5549dc
4 changed files with 14 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
HELP=$(gum choose "Hotkeys" "Commands" "Tactile" | tr '[:upper:]' '[:lower:]')
gum pager <$OMAKUB_PATH/help/$HELP.md
HELP=$(gum choose "Hotkeys" "Commands" "Tactile" --height 5 | tr '[:upper:]' '[:lower:]')
[ -n "$HELP" ] && gum pager <$OMAKUB_PATH/help/$HELP.md