Jan De Dobbeleer
f47da9592f
feat(exit): implement pipestatus
...
BREAKING CHANGE: exit segment is now called status segment.
The exit keyword is now deprecated and will be removed in a future
release. Please use the status keyword instead:
```diff
"segments": {
{
- "type": "exit"
+ "type": "status"
}
}
```
Additionally, the status segment configuration has changed to support
$PIPESTATUS. You can include a status template to customize the
rendering of each individual status code (supported in fish, zsh and
bash).
```json
"segments": {
{
"type": "status",
"properties": {
"status_template": "{{ if gt .Code 0 }}\uf071{{ else }}\uf00c{{ end }}",
"status_separator": " "
}
}
}
```
In case no $PIPESTATUS is available, the status segment will fall back
to the exit code of the last command using the status template
for rendering.
The `{{ .Meaning }}` property has been marked as deprecated and can be
replaced with `{{ reason .Code }}`, allowing it to be reused in
cross segment templates.
resolves #4070
2023-07-24 11:46:33 +02:00
Jan De Dobbeleer
2606031c76
fix(yaml): parse uint64 to int
...
resolves #3861
2023-05-17 20:18:18 +02:00
Jan De Dobbeleer
c34e39c4ed
fix(block): adjust trailing diamond color overrides
...
resolves #3850
2023-05-17 09:51:38 +02:00
Jan De Dobbeleer
98529e4a79
chore(social): remove mastodon and fix bluesky
2023-05-04 10:36:07 +02:00
jan De Dobbeleer
ae0c643d82
chore: remove config reference
2023-02-08 20:44:24 +01:00
jan De Dobbeleer
76c7ea536b
fix(config): migrate glyphs correctly for all formats
2023-02-08 13:44:41 +01:00
Jan De Dobbeleer
a172c7a5ef
feat: migrate v3 Nerd Font glyphs
2023-01-27 15:18:43 +01:00
Jan De Dobbeleer
7dbc3c96ea
fix(cycle): cycle in a loop
2023-01-11 13:49:46 +01:00
Jan De Dobbeleer
edb3842db7
chore: remove local debug setting
2023-01-06 11:02:37 +01:00
Jan De Dobbeleer
b5bb060641
fix(compare): support int64
...
resolves #3309
2023-01-05 21:00:22 +01:00
Jan De Dobbeleer
2cc768d522
chore(launch): remove default config reference
2022-11-24 11:42:08 +01:00
Jan De Dobbeleer
63bb1b4729
feat(cli): toggle segments on/off
...
resolves #3086
2022-11-17 20:58:00 +01:00
Jan De Dobbeleer
9e0244bc24
chore: launch API correctly
2022-07-12 20:53:09 +02:00
Jan De Dobbeleer
7eff25cddc
fix(image): do not break on overline
...
relates to #2312
2022-05-23 08:29:57 +02:00
Jan De Dobbeleer
3279821d0b
feat(cli): get accent color
2022-05-22 19:31:15 +02:00
Jan De Dobbeleer
e716d3040e
refactor: rename docs -> website
2022-05-13 08:19:35 +02:00
L. Yeung
c742bff144
docs: revise some details
2022-05-08 18:50:45 +02:00
Jan De Dobbeleer
6cc4160ddf
refactor: use default theme in debug
2022-05-06 12:28:48 +02:00
Jan De Dobbeleer
482c997413
feat: reference segments properties cross segment
...
resolves #2208
2022-05-06 12:28:48 +02:00
Jan De Dobbeleer
64196fe6ad
fix: override config on init
...
resolves #2180
2022-04-28 21:01:43 +02:00
L. Yeung
c37733e3ec
refactor(pwsh): purify global scope and environment
2022-04-21 13:05:52 +02:00
Jan De Dobbeleer
8db4d47e45
fix: correct escape sequence replacement
2022-04-03 20:44:23 +02:00
Jan De Dobbeleer
e1a1febc79
feat(pwsh): expose errorcode to transient prompt
2022-03-25 08:54:56 +01:00
lnu
96df24789d
fix(cli): check for empty args(cache/get)
2022-03-21 06:48:46 +01:00
Jan De Dobbeleer
6e3c1af164
refactor(cli): isolate debug command
2022-03-16 17:26:40 +01:00
Jan De Dobbeleer
10d56a8551
refactor(cli): migrate to cobra
2022-03-12 23:05:57 +01:00
Jan De Dobbeleer
0d366149b9
feat: query all window titles for app info
...
resolves #1354
2022-03-06 19:28:35 +01:00
Jan De Dobbeleer
a3a9b17f1e
fix(cmd): insert executable name to avoid spaces in path
...
relates to #1852
2022-03-02 08:17:38 +01:00
Jan De Dobbeleer
a0d4fc6cba
feat: colorise filler
2022-02-12 18:48:08 +01:00
Jan De Dobbeleer
57d481c9b4
fix: parse error text when silent fail
...
resolves #1739
2022-02-10 19:48:08 +01:00
Jan De Dobbeleer
0373d2c507
feat(config): migrate deprecated keys
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
0e056cd50d
feat(template): hyperlink functions
2022-02-03 10:44:18 +01:00
Jan De Dobbeleer
f512df208a
feat: expose environment info to all templates
2022-01-13 20:15:04 +01:00
Jan De Dobbeleer
d107f0af1c
docs: api debug settings
2022-01-09 20:24:47 +01:00
Jan De Dobbeleer
7bb0c9ae0b
refactor(tooltips): better invocation for pwsh
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
b9906b2f7a
feat: hide rprompt when the prompt is too large
...
relates to #715
2021-05-23 07:28:10 +02:00
Jan De Dobbeleer
5e9b04ae2f
revert: hide rprompt when the prompt is too large
...
This reverts commit a8d4e51d54
.
2021-05-22 21:20:54 +02:00
Jan De Dobbeleer
a8d4e51d54
feat: hide rprompt when the prompt is too large
...
relates to #715
2021-05-22 20:25:43 +02:00
Jan De Dobbeleer
c24ca82f17
feat: newline as part of block
...
this deprecates the "newline" block and favours using the newline
property on the Block component. For backwards compatibility we'll
keep recognizing the newline block for the time being.
resolves #607
2021-04-21 19:54:43 +02:00
Jan De Dobbeleer
212721c9e3
fix(battery): better state mapping
...
relates to #644
2021-04-16 07:54:05 +02:00
Jan De Dobbeleer
afb69b4229
feat: export image of the current theme
2021-04-11 10:53:10 +02:00
lnu
36e69a1f7e
chore: launch.json args syntax
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
Travis Illig
57e3b4ab80
chore: add .editorconfig
...
Add editor formatting for easier adherence to repo standards.
Remove .vscode items that shouldn't be here.
2020-10-15 08:11:09 -07:00
Jan De Dobbeleer
f3582d229e
feat(pkg): add PowerShell package
2020-09-16 10:46:50 +02:00
Jan De Dobbeleer
c4d1c75781
feat: initial commit
2020-09-12 08:57:18 +02:00