Commit graph

156 commits

Author SHA1 Message Date
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
Stephen Judd f6ec503bbf
feat: add Google Cloud (gcp) segment 2022-08-17 18:12:18 +02:00
L. Yeung 83c1af63b4 refactor(bash): simplify timer 2022-08-09 11:19:43 +02:00
Jan De Dobbeleer 3345017b2d fix(pwsh): validate execution time type
resolves #2633
2022-08-09 10:00:24 +02:00
Jan De Dobbeleer 5f063e80f3 chore(lint): nolint should be written without leading space 2022-08-05 08:38:17 +02:00
Jan De Dobbeleer 35efd3cf00 feat: remove functions to enable prompt features 2022-08-05 08:38:17 +02:00
Jan De Dobbeleer 18e23f93a8 chore: rename platform variables 2022-08-03 18:03:04 +02:00
Jan De Dobbeleer d5f87c81be feat: store template cache and reuse for extra prompts
resolves #2605
2022-08-03 18:03:04 +02:00
lnu 69856f4464 fix(ansi): correct osc7 typo
extra \ removed
2022-07-29 09:49:27 +02:00
Jan De Dobbeleer 7d0ac0a930 fix(ansi): correct osc7 format
relates to #2515
2022-07-29 08:51:50 +02:00
Jan De Dobbeleer fe2e5fd1d3 fix(osc7): correct format
relates to #2515
2022-07-26 08:34:01 +02:00
jedwillick f37e5767c2 feat: add lua segment 2022-07-20 12:42:44 +02:00
Jan De Dobbeleer 2ec6b085fd feat: withings segment 2022-07-20 07:40:51 +02:00
Kushal-Chandar 3a8907c48e feat(segment): added cmake segment 2022-07-15 13:38:34 +02:00
Jan De Dobbeleer 859fd0bbef feat: add osc7 support
resolves #2515
2022-07-13 13:59:21 +02:00
Michael Carman 43fee03fcb
feat: perl segment 2022-07-08 12:21:08 +02:00
Jan De Dobbeleer 24d2ef4767 feat(templates): advanced templates logic
resolves #2491
2022-07-08 12:09:22 +02:00
Jan De Dobbeleer 9f9b91e566 feat: deprecate offset properties 2022-07-03 11:00:30 +02:00
Jan De Dobbeleer 345ac2dae7 revert(pwsh): remove clear line hack
this reverts commit 75cf1b2005.
2022-07-01 17:20:12 +02:00
Jan De Dobbeleer 75cf1b2005 fix(pwsh): remove clear line hack
relates to #65
2022-07-01 08:27:56 +02:00
Jan De Dobbeleer f403db826f feat: hide/break right aligned block on overflow
resolves #2442
2022-06-27 19:48:00 +02:00
Jan De Dobbeleer d8b979ec3b fix(bash): escape rprompt entirely
closes #2398
2022-06-16 19:38:12 +02:00