Commit graph

2868 commits

Author SHA1 Message Date
Jan De Dobbeleer 509309c412 fix: use concurrent map for command caching
relates to #333
2021-01-29 19:31:00 +01:00
Jan De Dobbeleer 7aeb61ba86 feat: inno installer for Windows 2021-01-28 22:01:11 +01:00
Jan De Dobbeleer af4b1c6c39 refactor(docs): update dependencies 2021-01-25 12:52:17 +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
Rob Cannon 5a57cffcdd fix: check permissions before attempting chmod
closes #363
2021-01-24 13:14:55 +01:00
sky96111 82ed4af5f4 theme: introduce Pure
closes #369
2021-01-24 13:14:55 +01:00
Jan De Dobbeleer c35fd00a4b refactor: unified installation guide 2021-01-24 13:14:55 +01:00
Travis Illig cdc9ff9bfc docs: unify language segment docs 2021-01-22 19:22:35 +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 ee4b039e7a feat(pwsh): add context for V2 users 2021-01-19 19:22:46 +01:00
Jan De Dobbeleer d1025670fb chore(docs): add exit icons 2021-01-19 19:22:46 +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 8e1d38f053 docs: remove incorrect information 2021-01-16 23:17:25 +01:00
Laurent Nullens f81df2d8d4 chore: fix console title template syntax in sample 2021-01-16 13:29:53 +01:00
Damiano Pellegrini 0b9d3cc916 feat(themes): added a new theme
added a new theme called slim
2021-01-16 13:12:06 +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 47fc0088d1 fix: add all display_mode values 2021-01-15 19:28:46 +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
Jan De Dobbeleer 369ff4ddaf fix(docs): adjust hyperlink links 2021-01-13 13:28:34 +01:00
Sagar Yadav bddde3b38e theme: added new theme Negligible 2021-01-13 13:25:37 +01:00
Laurent Nullens ee25365ee7 chore: doc update for Delve config
Add an extra section to show how to configure Delve for VS Code(expand limits)
2021-01-13 08:31:15 +01:00
Laurent Nullens f0558bbb8c chore: fix type in schema.json for enable_hyperlink
string was set instead of boolean
2021-01-13 07:04:36 +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
Jan De Dobbeleer 7f3b2dd882 fix(build): adjust towards arm goarch 2021-01-10 13:37:28 +01:00
lnu b1e2a52a04 fix: lock around shared map write 2021-01-10 12:17:01 +01:00
Willie Zutz b876744721 docs: adding encoding for Write-PoshTheme to upgrade guide
fixing a couple typos.

refs #220
2021-01-09 21:37:59 +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
Jan De Dobbeleer c7bbed1cff feat: support multile architectures
relates to #323

relates to #298
2021-01-09 13:41:48 +01:00
Jan De Dobbeleer 667151fe28 refactor: remove additional git calls 2021-01-08 20:59:11 +01:00
Jan De Dobbeleer 3a86f49b72 perf: use strings.Builder instead of buffer 2021-01-08 20:59:11 +01:00
Jan De Dobbeleer 5d6d64508d refactor: fetch git enabled context via path 2021-01-08 20:59:11 +01:00
Jan De Dobbeleer c2bc901a41 refactor: command caching without leaking 2021-01-08 20:59:11 +01:00
Jan De Dobbeleer 8a925b80a3 refactor: use correct formatting 2021-01-08 20:59:11 +01:00
Jan De Dobbeleer 836763c002 refactor: run commands natively 2021-01-08 20:59:11 +01:00
Jan De Dobbeleer 598984b4cb refactor: check for availability of posh-git iso cmdlet
resolves #325
2021-01-07 13:31:13 +01:00
lnu c57368ce7d fix: avoid crash on system with no battey in battery segment 2021-01-05 13:06:54 +01:00
Laurent Nullens 86d2c3c0fa chore: spotify segment doc updated
https://github.com/JanDeDobbeleer/oh-my-posh3/issues/317
2021-01-05 07:07:45 +01:00