Jan De Dobbeleer
a8f97f5aa2
docs(export): remove deprecated flags
2024-03-14 14:51:36 +01:00
Jan De Dobbeleer
fb16d7c417
fix(export): fail on invalid config option
2024-03-11 13:20:49 +01:00
Jan De Dobbeleer
67042ffa50
fix(cli): use correct exit codes
2024-03-11 13:20:49 +01:00
Jan De Dobbeleer
5b7b4afec9
fix(export): format overrules file extension
2024-03-11 13:20:49 +01:00
Jan De Dobbeleer
9e7237a89f
fix(themes): adjust themes for correct rendering
2024-02-15 20:27:20 +01:00
Jan De Dobbeleer
fece104e73
fix(image): use fixed image width
2024-02-15 20:27:20 +01:00
Jan De Dobbeleer
43e9246c6b
fix(cli): initialize .Var correctly
2024-02-14 21:53:38 +01:00
dependabot[bot]
87555288eb
chore(deps): bump golangci/golangci-lint-action from 3.7.0 to 3.7.1
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](3a91952989...3cfe3a4abb
)
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-10 12:12:24 +00:00
L. Yeung
8db1365ea6
fix(cli): list all supported shells in usage text for init
2023-08-06 07:29:04 +02:00
Jan De Dobbeleer
f55da0ebcb
fix(tooltip): position with spaces instead of ANSI
2023-08-05 17:53:58 +02:00
Jan De Dobbeleer
0af3029cf1
fix(cursor): allow disabling cursor positioning
...
resolves #4072
2023-07-24 19:20:41 +02:00
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
d005bae4f4
feat: add version -v
...
resolves #4014
2023-07-02 21:11:01 +02:00
Jan De Dobbeleer
eee5198664
feat(fonts): install as user
2023-06-12 20:26:13 +02:00
Jan De Dobbeleer
f938794ccd
feat: upgrade segment
2023-05-18 19:55:29 +02:00
krzysdz
6544815766
feat: shell integration using FinalTerm's OSC sequences
2023-05-17 21:27:21 +00:00
Jan De Dobbeleer
0f7c10328f
feat(image): cache font instead of embedding
2023-05-08 20:43:54 +02:00
Jan De Dobbeleer
289ca41709
fix(millis): do not create env
2023-05-04 10:51:32 +02:00
Jan De Dobbeleer
a1b95a0274
refactor: split engine logic
2023-04-22 21:41:06 +02:00
Jan De Dobbeleer
8c5c836f22
feat: enable/disable true color per terminal
2023-03-23 10:36:23 +01:00
Jan De Dobbeleer
0692873cd4
feat(debug): add plain support
...
resolves #3612
2023-03-22 09:19:32 +01:00
Jan De Dobbeleer
c901575413
fix(pwsh): print upgrade notice in UTF8
...
resolves #3606
2023-03-21 12:50:56 +01:00
Jan De Dobbeleer
3b1823682d
chore(go): update dependency
2023-03-20 12:45:14 +01:00
Jan De Dobbeleer
71f81a0b79
feat(notice): disable/enable upgrade notice
2023-03-13 20:22:31 +01:00
Jan De Dobbeleer
393f30a082
feat: weekly upgrade notice
2023-03-03 20:28:41 +01:00
Jan De Dobbeleer
90b8178b91
feat(shell): support xonsh
2023-02-18 16:52:13 +01:00
Jan De Dobbeleer
f84e7b209f
feat(shell): support elvish
2023-02-18 14:00:10 +01:00
Jan De Dobbeleer
bb15f078bb
feat: support tcsh
...
resolves #3500
2023-02-17 10:17:52 +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
c76e9fd166
feat: ignore leading space on clear
2023-02-05 10:18:04 +01:00
Jan De Dobbeleer
441d1ff0af
fix(cursor): only get when needed
...
resolves #3446
2023-02-04 11:37:28 +01:00
Jan De Dobbeleer
7dce0fe3e7
fix(config): log errors
...
relates to #3441
2023-02-03 08:28:49 +01:00
L. Yeung
2d3886159f
fix(cli): remove outdated help text
2023-01-31 06:45:03 +01:00
Jan De Dobbeleer
a172c7a5ef
feat: migrate v3 Nerd Font glyphs
2023-01-27 15:18:43 +01:00
Jan De Dobbeleer
522a216c00
feat: add .PromptCount
...
relates to #3388
2023-01-23 07:46:35 +01:00
Jan De Dobbeleer
57bfb8a419
fix(pwd): do not print quotes
...
relates to #2515
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer
d4ebc71f9c
fix(image): init writer before usage
...
resolves #3326
2023-01-08 10:43:42 +01:00
maxlandon
02c557f42e
refactor(go): adapt imports for go.mod consistency
2023-01-06 07:48:14 +01:00
Jan De Dobbeleer
48d8a522bf
refactor: rename color module to ansi
2023-01-05 17:54:32 +01:00
Jan De Dobbeleer
005445b9fe
refactor(ansi): rewrite ansi and writer
2023-01-05 17:54:32 +01:00
Jan De Dobbeleer
77d5c9ed95
refactor(ansi): do not allow plain GOOS override
2023-01-02 19:23:38 +01:00
Jan De Dobbeleer
ce7b7f1501
fix(fish): different hyperlink format on linux
2023-01-02 18:36:13 +01:00
Jan De Dobbeleer
023546fe37
chore(go): rename module
2022-12-28 20:17:59 +01:00
Jan De Dobbeleer
9dd462c0d0
fix(engine): close Env after prompt generation
...
relates to #3244
2022-12-25 20:59:46 +01:00
maxlandon
edc02ddb48
refactor(engine): new instantiation function
...
this commit adds a function to instantiate a new prompt engine
to be used within a Go application (typically a readline shell)
2022-12-20 20:14:13 +01:00
mirsella
93f6576da0
feat: allow segments to hide based on terminal width
2022-12-03 11:20:06 +01:00
Jan De Dobbeleer
f93f223f5e
fix(init): lowercase shellname
...
relates to #3113
2022-11-22 20:37:42 +01:00
Jan De Dobbeleer
0d8b8591cc
fix(pid): cache PID from init
...
resolves #3096
2022-11-19 22:39:09 +01:00
Jan De Dobbeleer
877ac59f5f
feat(cmd): toggle rprompt from configuration
2022-11-18 09:41:39 +01:00
Jan De Dobbeleer
63bb1b4729
feat(cli): toggle segments on/off
...
resolves #3086
2022-11-17 20:58:00 +01:00