Commit graph

18 commits

Author SHA1 Message Date
Jan De Dobbeleer 59756813d3 refactor: naming standard for segments 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer bdd13cb32f refactor: move properties logic to module 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer 906ece2af9 refactor: move environment into it's own module 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer f7a07c6b62 refactor(segments): string() to template()
moves templating engine to Segment
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer fc456da107 refactor: rename getcwd to pwd 2022-01-20 14:22:29 +01:00
Jan De Dobbeleer e5dd07fb9a feat: cache template environment data 2022-01-18 20:14:47 +01:00
Jan De Dobbeleer 0404976b5c refactor: remove the need for nil argument in mock 2022-01-15 21:38:06 +01:00
Jan De Dobbeleer 29e019511a refactor: move properties to interface 2022-01-01 20:22:52 +01:00
Jan De Dobbeleer 09df670e07 refactor: use properties as map type 2021-11-26 11:11:07 +01:00
Jan De Dobbeleer cdc2998ed8 feat(git): ignore repo based on exclude_folders 2021-10-20 17:12:29 +02:00
Aaron Sherber 7e4865779a feat: flexible matching for include/exclude folders 2021-09-21 06:31:50 +02:00
Jan De Dobbeleer 18c56efd2e feat: multiple config formats 2021-03-21 19:30:56 +01:00
TravisTX 7d785df08a feat: include folders 2021-02-28 21:05:11 +01:00
Jan De Dobbeleer b59b4197dc chore: rename repository 2021-02-16 09:00:02 +01:00
Jan De Dobbeleer 507906009d feat(battery): support color templates
relates to #376
2021-02-15 23:23:44 +01:00
Jan De Dobbeleer 375184cf0e feat: allow color templates
relates to #397
2021-02-13 19:22:36 +01:00
lnu 890d0ad0e1 feat: cache compiled regex
use mustcompile for regex.
Always use mustcompile which throws a panic
if the regex cannot be compiled.
We call recover to detect the panic and
display an error message to the user.
2021-01-20 13:11:05 +01:00
Jan De Dobbeleer ed2eac8e12 feat: adjust source code layout 2020-12-25 20:11:24 +01:00
Renamed from segment_test.go (Browse further)