Commit graph

90 commits

Author SHA1 Message Date
Jan De Dobbeleer 734158a8a3 refactor: universal display_default
relates to #380
2021-02-18 19:11:55 +01:00
Jan De Dobbeleer de498044c9 fix(go): support 1.16
resolves #428
2021-02-18 08:49:25 +01:00
Jan De Dobbeleer c7db86ed4c fix(language): do not parse version when empty
relates to #423
2021-02-16 13:58:12 +01:00
Jan De Dobbeleer b59b4197dc chore: rename repository 2021-02-16 09:00:02 +01:00
Jan De Dobbeleer 87af930b75 fix: switch for OSC99 2021-02-15 23:23:44 +01:00
Jan De Dobbeleer 853eaa3890 feat(session): support text template
relates to #376
2021-02-15 23:23:44 +01:00
Jan De Dobbeleer 507906009d feat(battery): support color templates
relates to #376
2021-02-15 23:23:44 +01:00
Jan De Dobbeleer 0da40e6aa7 feat(node): version mismatch color
resolves #378
2021-02-15 23:23:44 +01:00
Asaf Mahlev c71c5e86cb feat: added Mixed path option - displays the path if it's short enough 2021-02-15 17:03:35 +01:00
Jan De Dobbeleer 0d87942fe3 refactor: session segment template properties 2021-02-15 13:36:42 +01:00
lnu b0562a38b8 feat: transform wsl path to windows folder 2021-02-15 11:14:50 +01:00
lnu 6add3bf2a0 fix: avoid error when duplicating wsl tab
use same osc escape code everywhere

detect wsl using env variable
2021-02-15 09:14:17 +01:00
Jan De Dobbeleer 860eeb478a feat: support osc9;9
resolves #409
2021-02-14 14:54:02 +01:00
Jan De Dobbeleer 9457be3990 refactor: hide erorr for languages
resolves #400
2021-02-14 13:08:50 +01:00
Jan De Dobbeleer 375184cf0e feat: allow color templates
relates to #397
2021-02-13 19:22:36 +01:00
TravisTX acfda5c9ca feat: add display_error to kubectl 2021-02-12 22:14:58 +01:00
Jan De Dobbeleer 3c1c0f87df feat: sprig template functions
relates to #397
2021-02-12 12:59:07 +01:00
Jan De Dobbeleer b830ae662a revert: use concurrent map for command caching
This reverts commit 509309c412.

resolves #394
2021-02-11 17:11:02 +01:00
TravisTX 731ebf6f9a feat: kubectl namespace 2021-02-11 07:06:40 +01:00
Jan De Dobbeleer bf44a446be feat: aws segment 2021-02-10 15:15:13 +01:00
Jan De Dobbeleer 440ff16a80 refactor: generic text templating 2021-02-10 15:15:13 +01:00
Jan De Dobbeleer f4027bd7b3 feat: version file mismatch indication
relates to #378
2021-02-07 07:39:50 +01:00
Jan De Dobbeleer ae10564f2b refactor: remove MissingCommandText 2021-02-07 07:39:50 +01:00
Jan De Dobbeleer a3a58feb0e feat(node): support .nvm files 2021-02-07 07:39:50 +01:00
Carlos Alberto Costa Beppler 3729dee16e feat: add the User and Host properties to the console title template 2021-02-06 23:05:41 +01:00
Jan De Dobbeleer 1ba666fe97 refactor: align ruby with language 2021-02-04 17:05:46 +01:00
Jan De Dobbeleer c43cbac284 refactor: generic language support 2021-02-04 17:05:46 +01:00
Jan De Dobbeleer 7e813893ed feat: support for ruby 2021-02-04 17:05:46 +01:00
Jan De Dobbeleer 509309c412 fix: use concurrent map for command caching
relates to #333
2021-01-29 19:31:00 +01:00
lnu 59c81f3a9f feat: release notes hyperlink for all languages
If version enabled and hyperlink enabled(global level), an hyperlink to
the release notes of the current version is generated.
The regex and the url template can be modified in the json template.
2021-01-25 08:55:42 +01:00
Jan De Dobbeleer 7a4d2e175b refactor: allow color overrides in git status icons
resolves #368
2021-01-24 19:30:55 +01:00
Jan De Dobbeleer 2af3e672fd fix(python): restore CONDA_DEFAULT_ENV
resolves #360
2021-01-20 19:09:11 +01:00
lnu 890d0ad0e1 feat: cache compiled regex
use mustcompile for regex.
Always use mustcompile which throws a panic
if the regex cannot be compiled.
We call recover to detect the panic and
display an error message to the user.
2021-01-20 13:11:05 +01:00
Jan De Dobbeleer 225b317e32 feat: success/error icon for exit segment
resolves #357
2021-01-19 10:28:03 +01:00
Jan De Dobbeleer b651c9a065 fix(pwsh): provide full config path
resolves #355
2021-01-18 20:06:51 +01:00
Jan De Dobbeleer f6501aeb51 fix: multiline prompt rendering
resolves #354
2021-01-18 11:16:31 +01:00
Jan De Dobbeleer edebc1d465 refactor: align pwsh module with init 2021-01-17 19:25:19 +01:00
Jan De Dobbeleer e26326001e fix: ensure correct encoding for pwsh
resolves #352
2021-01-17 19:25:19 +01:00
TravisTX 9f022d7ba5 feat: envvars in console title 2021-01-15 22:36:29 +01:00
Jan De Dobbeleer d1be7ac1d2 feat: add known Python extensions/folder 2021-01-15 19:41:09 +01:00
Jan De Dobbeleer 6ed5d26610 refactor: re-introduce context for language 2021-01-15 19:24:58 +01:00
Jan De Dobbeleer 2abcd82f45 refactor: use language context to display segment
relates to #239
2021-01-15 19:24:58 +01:00
Jan De Dobbeleer 890f9cde1b refactor(language): remap context to files 2021-01-15 19:24:58 +01:00
lnu 31c77af58f fix: convert exitErr to commandError if runCommand fails
exitError must not exit the runCommand helper, only commandError
safety check when casting in segment_language
2021-01-15 09:17:07 +01:00
lnu f8b28f01ba feat: add console title in --debug 2021-01-15 07:29:52 +01:00
TravisTX 0761c04286 feat: use tilde in console title 2021-01-14 07:07:15 +01:00
lnu 866c44e42d feat: add hyperlink rendering
An hyperlink can be added using markdown syntax and will be detected by the engine.
Initial implementation for path segments.
2021-01-12 21:37:41 +01:00
lnu b1e2a52a04 fix: lock around shared map write 2021-01-10 12:17:01 +01:00
Jan De Dobbeleer 82b97bc3b9 refactor(git): count stash using file content
relates to #305
2021-01-09 21:17:59 +01:00
Jan De Dobbeleer 780722a371 refactor(powershell): use PSDrive path
resolves #329
2021-01-09 20:00:39 +01:00