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
e5dd07fb9a
feat: cache template environment data
2022-01-18 20:14:47 +01:00
Jan De Dobbeleer
221f28afdd
feat(cli): print cache path
2022-01-16 18:22:40 +01:00
Jan De Dobbeleer
e1f50ef885
refactor: rename environmentInfo
2022-01-01 20:22:52 +01:00
Jan De Dobbeleer
9b15054378
refactor(main): move simple command up
2021-12-30 22:31:03 +01:00
Jan De Dobbeleer
06258dc256
fix(pwsh): allow powershell 5 init
2021-12-01 19:30:35 +01:00
Yehor Borkov
9ecd7c09a4
feat(palette): a map of named color values
...
introducing a map of named standard color
values that can be referenced in theme segments
2021-11-22 15:25:56 +01:00
Jan De Dobbeleer
b3371136c7
feat(cmd): support Windows CMD
2021-11-13 19:41:42 +01:00
Jan De Dobbeleer
1d192d63d8
feat: render rprompt separately
2021-11-13 19:41:42 +01:00
Jan De Dobbeleer
8b20d8fd81
feat: plain text prompt
...
resolves #1142
2021-11-05 09:09:17 +01:00
Jan De Dobbeleer
aa94042bd5
refactor: rename prompt writer
2021-11-05 09:09:17 +01:00
Jan De Dobbeleer
609a534d73
fix: escape executable path on zsh and bash
...
resolves #1031
2021-10-10 09:33:45 +02:00
Jan De Dobbeleer
7d2001c936
feat: cache capabilities
2021-09-23 23:03:46 +02:00
Nick Craver
bf51f59ceb
feat: image background color
2021-09-17 20:34:43 +02:00
Jan De Dobbeleer
073f18f53a
feat(debug): trace system calls to log file
2021-08-01 15:34:07 +02:00
Jan De Dobbeleer
9576e8212e
fix(transient): handle multiline prompts better in powershell
...
relates to #840
2021-07-10 15:00:23 +02:00
Jan De Dobbeleer
7c72e76aff
feat(pwsh): transient prompt
2021-06-22 08:42:35 +02:00
Jan De Dobbeleer
dcada48c9d
feat: tooltip support
2021-06-13 19:46:02 +02:00
Jan De Dobbeleer
b21670f35b
fix: consistent naming for Oh My Posh
...
relates to https://github.com/microsoft/winget-pkgs/pull/16328
2021-06-06 13:42:33 +02:00
Jan De Dobbeleer
79fa990205
feat: env vars in templates
...
resolves #743
2021-05-27 22:06:33 +02:00
Jan De Dobbeleer
b67f625740
fix(bash): escape entire rprompt
...
resolves #717
2021-05-21 22:12:55 +02:00
Jan De Dobbeleer
50473767a7
chore(ci): replace golint with revive
2021-05-21 20:33:11 +02:00
Jan De Dobbeleer
4a16c3fc6c
refactor(pwsh): postfix invoke-expression
...
relates to #708
2021-05-18 20:43:25 +02:00
Jan De Dobbeleer
b11b69f0e8
refactor: ansi module cleanup
2021-04-21 19:54:43 +02:00
lnu
b9601b632a
feat: show/hide stack count in path segment
2021-04-12 22:25:01 +02:00
Jan De Dobbeleer
2990bc2536
fix: return error on template render
2021-04-11 15:27:20 +02:00
Jan De Dobbeleer
afb69b4229
feat: export image of the current theme
2021-04-11 10:53:10 +02:00
Jan De Dobbeleer
64aa66eebc
feat: cfg.TerminalBackground as template
2021-04-01 21:51:06 +02:00
Jan De Dobbeleer
18c56efd2e
feat: multiple config formats
2021-03-21 19:30:56 +01:00
Jan De Dobbeleer
6379982c3b
fix: remove log statement
2021-03-14 15:17:46 +01:00
Jan De Dobbeleer
e6247da593
feat: set terminal background color
...
relates to #529
relates to #322
relates to #497
Windors terminal and Visual Studio Code do not work well with inversted
ANSI sequences. This weak allows users to override the Tranparency to
the terminal background color removing black elements in their prompt.
Ideally we remove this once they are on par with other terminals, but
that could take a while.
See https://github.com/microsoft/vscode/issues/111762
and https://github.com/microsoft/terminal/issues/7014
2021-03-14 14:25:27 +01:00
Jan De Dobbeleer
404a123217
feat: use go embed
2021-02-27 16:48:57 +01:00
Jan De Dobbeleer
b830ae662a
revert: use concurrent map for command caching
...
This reverts commit 509309c412
.
resolves #394
2021-02-11 17:11:02 +01:00
Jan De Dobbeleer
b651c9a065
fix(pwsh): provide full config path
...
resolves #355
2021-01-18 20:06:51 +01:00
lnu
b1e2a52a04
fix: lock around shared map write
2021-01-10 12:17:01 +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
Jan De Dobbeleer
c2bc901a41
refactor: command caching without leaking
2021-01-08 20:59:11 +01:00
Jan De Dobbeleer
0e7849cde3
fix: msys2 compatibility
...
resolves #281
2020-12-29 21:53:07 +01:00
lnu
9013a5b3d4
chore: doc updated(Get an editor)
2020-12-29 21:47:04 +01:00
lnu
0fcf7cc8be
feat: replace debug information with a new layout
...
Similar as Starship timings command
2020-12-29 21:47:04 +01:00
Jan De Dobbeleer
b427a0e8a4
refactor: cache shell name
2020-12-27 18:23:40 +01:00
Jan De Dobbeleer
59282c088d
refactor: separate ansi formats
2020-12-27 18:23:40 +01:00
Jan De Dobbeleer
ed2eac8e12
feat: adjust source code layout
2020-12-25 20:11:24 +01:00