Jan De Dobbeleer
9e1942035f
perf(template): cache template functions
2024-11-04 12:15:40 +01:00
Jan De Dobbeleer
d005bae4f4
feat: add version -v
...
resolves #4014
2023-07-02 21:11:01 +02:00
maxlandon
02c557f42e
refactor(go): adapt imports for go.mod consistency
2023-01-06 07:48:14 +01:00
Jan De Dobbeleer
023546fe37
chore(go): rename module
2022-12-28 20:17:59 +01:00
Jan De Dobbeleer
0bd957fc76
fix(cli): version info compatibility
...
resolves #1911
2022-03-13 07:57:35 +01:00
Jan De Dobbeleer
10d56a8551
refactor(cli): migrate to cobra
2022-03-12 23:05:57 +01:00
Jan De Dobbeleer
e6fd50a48f
feat(init): remote config
2022-02-25 17:19:39 +01:00
Jan De Dobbeleer
dec5691435
feat: secondary prompt
2022-02-20 14:01:04 +01:00
Jan De Dobbeleer
cb70ed4b41
feat(pwsh): support PromptText
2022-02-19 19:23:56 +01:00
Jan De Dobbeleer
4c4b97fa8b
fix: provide terminal width from CLI
2022-02-06 11:04:36 +01:00
Jan De Dobbeleer
b29ebcd058
chore: provide info for migrated config
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
6fcae4207e
chore(migrate): backup config on migration
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
0373d2c507
feat(config): migrate deprecated keys
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
fee29f4b2e
refactor: move engine to module
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
c0f4b6d6f0
refactor: move title to module
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
9e7abe4541
refactor: move segments 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
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