aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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/+0
|
* fix function name not get renamedFlorian Fischer2019-08-241-1/+1
|
* rename all internal functions to start with "__"Florian Fischer2019-08-201-24/+24
| | | | | Prefixing all internal functions with "__" hides them from the shell's autocompletion. fish uses the same naming style.
* add completions for edit and print commandsFlorian Fischer2019-08-201-0/+9
|
* add edit command to usage output and READMEFlorian Fischer2019-08-202-0/+2
|
* add edit commandFlorian Fischer2019-08-201-0/+12
| | | | | "mark edit" or "mark e" will open the mark store file in an editor or using xdg-open.
* rewrite mark to use more coreutils and support multiple marks per dayFlorian Fischer2019-03-212-275/+134
|
* support both math buildinsFlorian Fischer2019-02-041-1/+1
|
* fix mark set for fish 3.0.0Florian Fischer2019-02-031-1/+1
| | | | the new math build in returns floats
* fix array index for fish 3.0.0Florian Fischer2019-02-031-1/+4
| | | | | array[01..n] fails for fish shell version 3.0.0. This change makes sure we always index without leading zeros.
* add force flag to mark setFlorian Fischer2017-05-041-3/+10
|
* fix and simplify the range extractionFlorian Fischer2017-01-091-15/+11
| | | | year_offsets are now correct calculated.
* let the mark function parse the argsFlorian Fischer2016-10-111-101/+37
| | | | fix a bug in __mark_set
* move mark.fish and fix function calls without optionsFlorian Fischer2016-10-111-6/+6
|
* [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
* add policy: year subblocks should be sorted newest firstFlorian Fischer2016-02-211-0/+2
|
* change #store# layoutFlorian Fischer2016-02-172-13/+23
| | | | | | | 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-172-0/+75
| | | | | | | | | + __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
* improve READMEFlorian Fischer2016-02-171-0/+9
| | | | | + add requirements + document that there is no "easy" usage yet
* add colors exampleFlorian Fischer2016-02-171-0/+6
|
* improve doc/store.mdFlorian Fischer2016-02-171-2/+2
|
* add store documentation and new_store functionFlorian Fischer2016-02-172-0/+93
|
* add README and LICENSEFlorian Fischer2016-02-162-0/+34
|
* add test_store to gitignoreFlorian Fischer2016-02-161-0/+1
|
* add gitignoreFlorian Fischer2015-12-101-0/+1