L. Yeung
66f1347357
fix(shell): avoid unnecessary CLI calls for prompt repaint
2024-07-11 07:32:36 +02:00
Jan De Dobbeleer
129c41ba34
feat(upgrade): auto upgrade
2024-06-14 17:58:48 +02:00
Jan De Dobbeleer
eebb45ef07
fix(iterm): initialize prompt mark correctly for all supported shells
2024-05-20 20:05:16 +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
krzysdz
6544815766
feat: shell integration using FinalTerm's OSC sequences
2023-05-17 21:27:21 +00:00
L. Yeung
770d1994bc
fix(fish): do not prevent entering space characters on empty buffer
2023-04-21 20:49:03 +02:00
Jan De Dobbeleer
d5b0886aea
fix(fish): get last element from history
...
resolves #3632
2023-04-20 07:18:07 +02:00
Jan De Dobbeleer
972ebd4805
fix(debug): output shell and version
2023-03-26 17:33:03 +02:00
Jan De Dobbeleer
92c28a2e8d
fix(fish): bind keys to all modes
...
resolves #3625
2023-03-26 14:45:37 +02:00
Jan De Dobbeleer
393f30a082
feat: weekly upgrade notice
2023-03-03 20:28:41 +01:00
Jan De Dobbeleer
c76e9fd166
feat: ignore leading space on clear
2023-02-05 10:18:04 +01:00
Albert Portnoy
ee46cc2645
fix(fish): repaint tooltip on sigint
2022-11-21 19:36:03 +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
cd9c8b3e5d
fix(fish): re-render rprompt when no tooltip is needed
...
resolves #3093
2022-11-18 09:35:25 +01:00
Jan De Dobbeleer
c0c230879a
fix(fish): do not reload rprompt on empty tooltip
...
resolves #3053
2022-11-09 08:08:47 +01:00
Jan De Dobbeleer
07acb9b0f6
fix(fish): collect commandline keyword after split
...
resolves #3042
2022-11-04 21:46:45 +01:00
Jan De Dobbeleer
efd4b7d832
fix(fish): split single string
...
resolves #3042
2022-11-04 21:03:36 +01:00
Jan De Dobbeleer
2609aa2aea
fix(fish): do not hide tooltip on arguments
...
resolves #3037
2022-11-03 17:28:31 +01:00
Jan De Dobbeleer
17572d7f3f
feat(context): allow context setting where possible
...
relates to #2776
2022-09-23 21:19:47 +02:00
Jan De Dobbeleer
4572a6a8b9
fix(fish): no transient on autosuggestion
...
resolves #2708
2022-08-27 21:56:30 +02:00
L. Yeung
4e25c7c1c9
feat(shell): perform cleanup for a new initialization
2022-08-22 18:57:01 +02:00
L. Yeung
db8eac7c5d
fix(shell): quote paths properly in init scripts
2022-08-09 06:59:35 +02:00
Jan De Dobbeleer
35efd3cf00
feat: remove functions to enable prompt features
2022-08-05 08:38:17 +02:00
L. Yeung
01164cfcc9
feat(tooltip): make .Code
property available
2022-07-28 13:27:47 +02:00
L. Yeung
253c71e0cf
fix(fish): get correct error code
2022-07-05 08:50:37 +02:00
Floris Westerman
003382b6fd
fix(fish): clear after cursor for next prompt
...
resolves #2467
2022-07-02 08:51:39 +02:00
Floris Westerman
47ad3a3eb8
fix(fish): support abbreviations with tooltips
...
resolves #2469
2022-07-02 08:30:56 +02:00
L. Yeung
8d2dddb08d
fix(shell): wrap path with single quotes
2022-04-26 12:22:55 +02:00
Jan De Dobbeleer
9214b88475
feat(shell): add version
...
resolves #2108
2022-04-20 19:24:47 +02:00
Jan De Dobbeleer
f9efe17da3
fix(fish): re-render rprompt when no tooltip
2022-04-05 08:12:05 +02:00
Jan De Dobbeleer
ee4c4dfe34
fix(fish): export POSH_THEME as env var
2022-03-27 09:37:23 +02:00
Jan De Dobbeleer
112043f805
feat: simpler cli interface
2022-03-25 19:08:29 +01:00
Jan De Dobbeleer
8b5c2a35ca
feat(transient): color template support
2022-03-25 08:54:56 +01:00
Jan De Dobbeleer
143074e0a7
feat(fish): transient prompt
2022-03-23 19:53:59 +01:00
Jan De Dobbeleer
340c851743
feat(fish): tooltip support
2022-03-23 19:53:59 +01:00
Jan De Dobbeleer
3c0c350564
refactor: separate shell init
2022-03-22 07:56:06 +01:00