Skip to content

Commit

Permalink
Merge branch 'super' of https://github.com/FBDev64/FBD into super
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamOnAir committed Apr 23, 2024
2 parents e3d411f + 5e7cc8d commit 9ff817b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 142 deletions.
2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

128 changes: 0 additions & 128 deletions CODE_OF_CONDUCT.md.save

This file was deleted.

23 changes: 11 additions & 12 deletions src/fbd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ while true
do

#Input
VHS=$(gum input --placeholder " Enter Command")

# Treat Input
VHS=$(gum input --placeholder " Enter Command")

case $VHS in

exit | q | esc | bye)
Expand All @@ -29,23 +28,23 @@ while true
gum pager < ./doc.md
;;
edit | text | txt | file | editor | nano | vim | vi)
$EDITOR "$(gum file "$FBD")"
$EDITOR "$(gum file "$FBD")"
;;
issue)
gum log --level info "Report issue at github.com/FBD/issues"
;;
time | date)
gum log --level info "$now"
;;
duck | goose)
gum pager < ./src/duck.txt
;;
annoy | dog)
gum pager < ./src/dog.txt
;;
duck | goose)
gum pager < ./src/duck.txt
;;
annoy | dog)
gum pager < ./src/dog.txt
;;

*)
echo -n "Command not found or not implemented yet."
;;
echo -n "Command not found or not implemented yet."
;;
esac
done

0 comments on commit 9ff817b

Please sign in to comment.