From a81aec9886635214156c287a44d79a6c05a9dd5c Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 4 Feb 2024 20:07:50 +0000 Subject: Removes old breakfast function --- fish2024/functions/breakfast.fish | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 fish2024/functions/breakfast.fish (limited to 'fish2024/functions') diff --git a/fish2024/functions/breakfast.fish b/fish2024/functions/breakfast.fish deleted file mode 100644 index 6168976..0000000 --- a/fish2024/functions/breakfast.fish +++ /dev/null @@ -1,21 +0,0 @@ -function _mealplan --description 'Get the meal plan for a day' - # Uses the file at ~/Documents/Notes/2.Areas/Health/Breakfast_and_Lunch_Plan_IBD.md - #set -l cmd "grep Monday ~/Documents/Notes/2.Areas/Health/Breakfast_and_Lunch_Plan_IBD.md|cut -d: -f3" - if test -z $argv[1] - echo "Usage: mealplan " - echo " day: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday" - echo " meal: b, l, t" - return - end - - set -l day $argv[1] - - if test $argv[2] = "b" - set -f meal "-f2" - else if test $argv[2] = "l" - set -f meal "-f3" - else if test $argv[2] = "t" - set -f meal "-f4" - end - echo (grep -i $day ~/Documents/Notes/2.Areas/Health/Breakfast_and_Lunch_Plan_IBD.md|cut -d: $meal) -end -- cgit v1.2.3