diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2016-05-02 16:12:08 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2016-05-02 16:12:08 +0200 |
| commit | 5e59a460d01538d89fc1bdd11a4e30a2c1b669dd (patch) | |
| tree | 175f8c1b9b3d8d7749a5e4f76e356b29568ebe76 /functions/__mark_new_store.fish | |
| parent | 552edcc7f97b8eddbd6a97481b4d04f0704748ce (diff) | |
| download | mark-5e59a460d01538d89fc1bdd11a4e30a2c1b669dd.tar.gz mark-5e59a460d01538d89fc1bdd11a4e30a2c1b669dd.zip | |
join all files into mark.fish
Diffstat (limited to 'functions/__mark_new_store.fish')
| -rw-r--r-- | functions/__mark_new_store.fish | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/functions/__mark_new_store.fish b/functions/__mark_new_store.fish deleted file mode 100644 index 06dd2de..0000000 --- a/functions/__mark_new_store.fish +++ /dev/null @@ -1,27 +0,0 @@ -function __mark_new_store --description "generates new mark store for one year" - set year (date "+%Y") - echo "#colors#" - echo "#store#" - echo $year: - for m in (seq 1 12) - echo -n "$m:" - switch $m - case 1 3 5 7 8 10 12 - set days 31 - case 4 6 9 11 - set days 30 - case 2 - if date -d "$year-02-29" >/dev/null ^/dev/null - set days 29 - else - set days 28 - end - end - - for d in (seq 1 $days) - echo -n "?" - end - echo - end - echo "#end#" -end |
