Commit graph

35 commits

Author SHA1 Message Date
Jan De Dobbeleer 4e17e4a853 refactor: public interface for segments 2022-02-03 10:44:18 +01:00
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 c86b7b62bc refactor: move color 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 f5178e8c8c feat: remove enable_hyperlink 2022-02-03 10:44:18 +01:00
Jan De Dobbeleer b816a0bf70 feat: templates for all segments 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 f512df208a feat: expose environment info to all templates 2022-01-13 20:15:04 +01:00
Jan De Dobbeleer e1f50ef885 refactor: rename environmentInfo 2022-01-01 20:22:52 +01:00
Jan De Dobbeleer 29e019511a refactor: move properties to interface 2022-01-01 20:22:52 +01:00
Jan De Dobbeleer a88036fc69 perf: avoid InBounds checks 2021-12-18 20:18:54 +01:00
Jan De Dobbeleer 7805ee1a27 feat(path): add template 2021-12-17 22:52:17 +01:00
Jan De Dobbeleer d52f917782 feat(path): agnoster left
resolves #1411
2021-12-11 20:40:32 +01:00
Jan De Dobbeleer 09df670e07 refactor: use properties as map type 2021-11-26 11:11:07 +01:00
Alex da1bb46a94 fix(path): correctly handle replaced paths for letter style 2021-10-17 13:06:16 +02:00
lnu f67ee8e609 fix(path): display root path icon when using agnoster 2021-09-30 12:18:49 +02:00
Aaron Sherber 5db251ce53
feat(path): flexible matching for mapped-locations 2021-09-18 22:03:00 +02:00
Laurent Nullens bb246377ce
feat(git): display worktree count
resolves #913
2021-09-04 18:32:55 +00:00
Sebastian Mineur 2b53796c1a
feat(path): add 'max_depth' option for 'agnoster_short' 2021-08-20 15:06:37 +00:00
Jan De Dobbeleer 68f576692b feat(path): use second letter for .folder
resolves #886
2021-08-10 05:58:35 +02:00
Jan De Dobbeleer 40238b8226 fix: adjust mapped_locations_enabled for hardcoded only
resolves #854
2021-07-24 19:55:08 +02:00
Jan De Dobbeleer 1f4d05415c feat(path): letter full path
resolves #851
2021-07-13 20:18:03 +02:00
lnu b9601b632a feat: show/hide stack count in path segment 2021-04-12 22:25:01 +02:00
Jan De Dobbeleer d3252acf85 feat(path): correct drive root on Windows
resolves #534
2021-03-17 13:36:18 +01:00
Jan De Dobbeleer ae44f14731 fix(theme): correct icons
resolves #515
2021-03-13 08:32:06 +01:00
Asaf Mahlev c71c5e86cb feat: added Mixed path option - displays the path if it's short enough 2021-02-15 17:03:35 +01:00
lnu b0562a38b8 feat: transform wsl path to windows folder 2021-02-15 11:14:50 +01:00
lnu 866c44e42d feat: add hyperlink rendering
An hyperlink can be added using markdown syntax and will be detected by the engine.
Initial implementation for path segments.
2021-01-12 21:37:41 +01:00
Jan De Dobbeleer 780722a371 refactor(powershell): use PSDrive path
resolves #329
2021-01-09 20:00:39 +01:00
Jan De Dobbeleer 3a86f49b72 perf: use strings.Builder instead of buffer 2021-01-08 20:59:11 +01:00
TravisTX 94ae5ed0b4 fix: folder style not using folder_separator_icon 2021-01-03 18:25:42 +01:00
TravisTX 1cfed78576 feat: allow custom folder separator for all styles 2020-12-26 08:30:29 +01:00
Jan De Dobbeleer ed2eac8e12 feat: adjust source code layout 2020-12-25 20:11:24 +01:00
Renamed from segment_path.go (Browse further)