Skip to content

Commit

Permalink
Update fbd.sh
Browse files Browse the repository at this point in the history
Signed-off-by: FBDev <[email protected]>
  • Loading branch information
FBDev64 authored Apr 22, 2024
1 parent d399a8a commit 9213b5a
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions src/fbd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,6 @@ while true
#Input
VHS=$(gum input --placeholder " Enter Command")

function puns () {
gum pager < ./src/under.txt
} function nintendo () {
gum pager < ./src/nintendo.txt
} function help () {
gum pager < ./doc.md
} function edit () {
$EDITOR "$(gum file "$FBD")"
} function issue () {
gum log --level info "Report issue at github.com/FBD/issues"
} function date () {
gum log --level info "$now"
}
case $VHS in

exit | q | esc | bye)
Expand All @@ -32,22 +19,22 @@ while true
clear
;;
puns | under)
puns
gum pager < ./src/under.txt
;;
nintendo)
nintendo
gum pager < ./src/nintendo.txt
;;
help)
help
gum pager < ./doc.md
;;
edit | text | txt | file | editor | nano | vim | vi)
edit
$EDITOR "$(gum file "$FBD")"
;;
issue)
issue
gum log --level info "Report issue at github.com/FBD/issues"
;;
time | date)
date
gum log --level info "$now"
;;
duck | goose)
gum pager < ./src/duck.txt
Expand Down

0 comments on commit 9213b5a

Please sign in to comment.