aboutsummaryrefslogtreecommitdiff
path: root/functions
Commit message (Collapse)AuthorAgeFilesLines
* support extended regex in count commandFlorian Fischer2022-08-281-5/+5
|
* improve date parsingFlorian Fischer2022-08-281-12/+22
| | | | | | Only parse $argv[2] into a date if it is requierd by the command (print, mark). Actually parse a passed string into a ISO date using date -d -I. (E.g., this allows to use mark print yesterday)
* extract the edit command into a function and propagate status codesFlorian Fischer2022-08-281-11/+18
|
* remove useless space from date parsing error messageFlorian Fischer2022-08-281-1/+1
|
* add count commandFlorian Fischer2022-08-281-0/+14
| | | | mark count <mark> counts all occurrences of <mark> in the mark store.
* support --help/-h command line optionsFlorian Fischer2022-08-281-4/+10
|
* move mark.fish into functions/Florian Fischer2021-01-181-0/+158
|
* move mark.fish and fix function calls without optionsFlorian Fischer2016-10-111-344/+0
|
* [WIP] wrap __mark_<functions> in main mark functionFlorian Fischer2016-05-121-2/+32
|
* join all files into mark.fishFlorian Fischer2016-05-026-310/+314
|
* add function to get information out of a mark storeFlorian Fischer2016-03-221-0/+127
| | | | | | | | | | | | | __mark_get: + function to get marks and information about marks + arguments: + "-y= | -m= | -d=" date options + "-s=" store location + "-r=" range of days + behaviour: + if no specific date argument is given the current date is used. + if day is set to 0 a small summary of the month is printed + if range is given all marks in the range are printed
* change #store# layoutFlorian Fischer2016-02-171-2/+16
| | | | | | | Now every month has the correct amount of marks not always 31. This change should not affect set and print_month because they never use a fixed assumption how many marks/days a month has.
* add function to mark a dayFlorian Fischer2016-02-171-0/+74
| | | | | | | | | + __mark_set + function to set the mark of a day + arguments: "-s=" store location, "-z=" mark sign, "-y= | -m= | -d=" specific day + if nothing else is specified '*' is set for the current day +README: add sed to the requirements
* add function to plot a monthFlorian Fischer2016-02-172-0/+82
| | | | | | | | | | | + __mark_print_block: + function to print a specified block from the store file to stdout + arguments: block name, store location + __mark_print_month: + this functions use the output from cal and colors marked days + possible arguments: "-s=" store location, "-y= | -m=" year and month to print + if nothing is specified the current month is plotted
* add store documentation and new_store functionFlorian Fischer2016-02-171-0/+13