Jan De Dobbeleer
9cd20f2764
fix(bash): escape rprompt
...
resolves #3347
2023-01-12 10:01:16 +01:00
David Courtney
822b7c755e
feat: add mercurial segment
2023-01-11 15:25:11 +01:00
Jan De Dobbeleer
41f2716237
fix(cycle): initialize by default
2023-01-11 14:13:15 +01:00
Jan De Dobbeleer
7dbc3c96ea
fix(cycle): cycle in a loop
2023-01-11 13:49:46 +01:00
Jan De Dobbeleer
86459f9a2f
feat: cycle through colors
...
resolves #3327
2023-01-10 13:54:51 +01:00
Jan De Dobbeleer
a2353d93e7
feat: add vala segment
...
resolves #3329
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer
2751a243ef
feat: add elixir segment
...
resolves #3314
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer
57bfb8a419
fix(pwd): do not print quotes
...
relates to #2515
2023-01-09 09:18:18 +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
e957e5f8cc
fix(fish): do not fix fish bug for hyperlinks
2023-01-02 20:09:08 +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
maxlandon
3559254292
chore: do not load config options more than once
...
do not set options for the configuration when it already has been set
this allows several prompt engines being created in a single runtime
2022-12-30 20:04:48 +01:00
Jan De Dobbeleer
cf4aa4ed62
fix(engine): always return a new writer for init
...
resolves #3268
2022-12-29 21:32:57 +01:00
NoF0rte
9d81f5a362
feat(style): segment style as a template string
2022-12-29 19:44:50 +01:00
NoF0rte
9e40a1a0dc
feat: conditional segment styles
2022-12-29 19:44:50 +01:00
Jan De Dobbeleer
023546fe37
chore(go): rename module
2022-12-28 20:17:59 +01:00
maxlandon
04bfb2eef1
feat: add segment writers at runtime
2022-12-28 20:17:59 +01:00
Jan De Dobbeleer
8cd8c9a7be
feat(color): do not clear parent colors
2022-12-28 17:14:29 +01:00
Jan De Dobbeleer
60664e245a
feat(git): remove stash and worktree count from template
...
they are now individual functions so they no longer need a switch
2022-12-28 17:14:29 +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
Jan De Dobbeleer
2cba140522
fix(warp): support rprompt
2022-12-08 11:37:04 +01:00
Jan De Dobbeleer
1e50107ff6
fix(warp): support newlines
2022-12-08 11:37:04 +01:00
Jan De Dobbeleer
8365aae504
feat: allow block to hide based on terminal width
2022-12-03 17:31:15 +01:00
mirsella
93f6576da0
feat: allow segments to hide based on terminal width
2022-12-03 11:20:06 +01:00
Lemorz56
acd4d01d4d
feat: add gitversion segment
2022-11-30 12:51:08 +01:00
Ted Reed
1c7db480f9
feat(shell): osc51 support
...
working directory OSC for emacs-libvterm
2022-11-27 10:14:55 +01:00
Jan De Dobbeleer
389262edd0
fix(segment): only case non-alias
...
relates to #3103
2022-11-26 15:49:57 +01:00
Jan De Dobbeleer
ef267a8f4c
fix(init): show invalid config warning
...
resolves #3113
2022-11-22 20:37:42 +01:00
Jan De Dobbeleer
82f3400814
chore: remove prefix and postfix
2022-11-21 19:29:46 +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
18f6db017a
chore: rename environment to platform
2022-11-11 20:23:52 +01:00
Romain Chardiny
ae4f8133ca
feat(segment): add xmake
2022-11-05 20:10:01 +01:00
Jan De Dobbeleer
b73ac4bdc2
feat(init): improve performance
2022-11-03 17:28:31 +01:00
Jan De Dobbeleer
ef8055eb08
fix(config): export default config
...
resolves #2961
2022-10-18 13:15:38 +02:00
Jan De Dobbeleer
3efa4df088
feat(palette): conditional palettes
2022-10-14 20:25:00 +02:00
Jan De Dobbeleer
6980cb55e7
feat: move default theme internally
2022-10-13 08:40:29 +02:00
LNK LEO
4b6b128d74
feat(connection): new segment
...
BREAKING CHANGE: this will need a manual migration from the wifi
segment to the new connection segment.
2022-10-05 16:16:17 +02:00
L. Yeung
5b6a3470d1
fix(path): parse path correctly
2022-10-04 06:50:07 +02:00
Jan De Dobbeleer
2f0bd54087
feat(templates): only fallthrough when template is set
...
resolves #2859
2022-10-03 07:04:50 +02:00
Jan De Dobbeleer
b87a7f7da2
fix(poshgit): remove all references
2022-09-23 08:46:12 +02:00
Jan De Dobbeleer
aecd8d6bfd
feat(templates): segment alias
...
resolves #2811
2022-09-20 20:14:31 +02:00
Jan De Dobbeleer
c3c72b17b3
feat: deno segment
...
resolves #2764
2022-09-18 09:50:09 +02:00
Jan De Dobbeleer
3ded4c00fc
feat(posh-git): parse environment variable
...
BREAKING CHANGE: this removes the posh-git segment. To mitigate,
rename the posh-git segment to git.
In case you had a custom template, make sure to migrate to the git
segment's template. You can now also leverage the same logic and
properties as the git segment in both the text template and/or
color templates.
2022-09-07 18:04:41 +02:00
Jan De Dobbeleer
17f75fa1ff
refactor(git): no leading space on branch status
2022-09-07 18:04:41 +02:00
L. Yeung
c0935c87f2
fix(shell): escape special characters correctly
2022-08-28 08:35:54 +02:00
Jan De Dobbeleer
dfae989782
fix(pwsh): escape backticks correctly
2022-08-27 21:56:30 +02:00