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
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
0987cafad0
refactor: remove deprecated functionality
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
e6d4413ae7
feat: adjust var names for consistency
...
BREAKING CHANGE: adjusts the way some segment work for templates.
Mapping the var names as following will resolve the issue.
- session/title/general purpose
- .Host -> .HostName
- .User -> .UserName
- az
- .UserName -> .Name
- kubectl
- .UserName -> .User
2022-01-17 16:29:39 +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
39a27b29ad
refactor(session): deprecate ssh_icon
2021-12-04 13:13:05 +01:00
Jan De Dobbeleer
a08a3a9a21
feat(session): refactor for template
2021-12-03 23:50:50 +01:00
Jan De Dobbeleer
09df670e07
refactor: use properties as map type
2021-11-26 11:11:07 +01:00
Jan De Dobbeleer
79fa990205
feat: env vars in templates
...
resolves #743
2021-05-27 22:06:33 +02:00
Jan De Dobbeleer
2990bc2536
fix: return error on template render
2021-04-11 15:27:20 +02:00
Jan De Dobbeleer
ae8e6d6ccb
refactor: session tests
...
relates to #453
2021-02-25 12:08:59 +01:00
Joseph Petersen
daf324781b
fix(session): use DefaultUserName
2021-02-25 08:14:19 +01:00
Jan De Dobbeleer
58f1789415
feat(session): default user override
...
resolves #447
2021-02-24 10:12:47 +01:00
Jan De Dobbeleer
734158a8a3
refactor: universal display_default
...
relates to #380
2021-02-18 19:11:55 +01:00
Jan De Dobbeleer
853eaa3890
feat(session): support text template
...
relates to #376
2021-02-15 23:23:44 +01:00
Jan De Dobbeleer
0d87942fe3
refactor: session segment template properties
2021-02-15 13:36:42 +01:00
Jan De Dobbeleer
ed2eac8e12
feat: adjust source code layout
2020-12-25 20:11:24 +01:00