Commit graph

345 commits

Author SHA1 Message Date
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
Jan De Dobbeleer a38fe214c3 fix: do not fetch git stash every time
relates to #305
2021-01-04 18:58:58 +01:00
Laurent Nullens 82635cd5ec fix: wrong check when calling --debug with ignore_folders set
wrong check when calling --debug with ignore_folders set
2021-01-04 16:14:07 +01:00
TravisTX 94ae5ed0b4 fix: folder style not using folder_separator_icon 2021-01-03 18:25:42 +01:00
lnu 9822227a5e docs: display_mode 'never' removed 2021-01-01 08:46:22 +01:00
lnu 621cb8e4bc docs: spell check 2021-01-01 08:46:22 +01:00
TravisTX dbe3fa1bcc feat: include schema declaration in themes 2020-12-31 23:16:20 +01:00
Jan De Dobbeleer 11350c7347 feat: show no commits context 2020-12-31 20:34:05 +01:00
Jan De Dobbeleer 8c68b89790 refactor: remove DisplayModeNever 2020-12-31 20:34:05 +01:00
lnu abfbb27765 fix: don't check language version in Enabled()
fix: align dotnet segment with other languages
feat: missing command text + json schema updated
chore: doc updated
perf: cache executable path
chore: not supported version icon updated(previus one was unreadable)
2020-12-31 16:59:13 +01:00
Jan De Dobbeleer 07ac2c35cd refactor: display powerline correct in --debug 2020-12-31 14:04:38 +01:00
Jan De Dobbeleer 488d25fc7b refactor: remove spotify from jandedobbeleer sample 2020-12-31 14:04:38 +01:00
Jan De Dobbeleer d9d2430ae9 fix: wait for command to complete
without wait(), the *ProcessState is nil, meaning we can't access
the ExitCode(). On Windows, calling wait() introduces a timeout
which makes things run slower, which is why we only call wait()
in case of an error. That should not be the main use-case.

relates to #285
2020-12-31 13:29:42 +01:00
TravisTX 7e7483501c fix: mapped_locations schema definition 2020-12-31 13:22:16 +01:00
Laurent Nullens 1bc52c3c48 fix: exit code always equal 0
The exit code was not captured correctly since the move to the new bootstrap system.  
It never displays the actual exit code.
2020-12-31 12:06:59 +01:00
Jan De Dobbeleer 4c771d3e15 fix: add timeout to http requests
this caused a serious delay on windows
2020-12-31 09:47:32 +01:00
Jan De Dobbeleer 5fa33f4c4f fix: use commandError on cmd failure
relates to #285
2020-12-31 09:06:13 +01:00
Jan De Dobbeleer e0a4482d4b fix: parse error message when running command 2020-12-30 20:10:42 +01:00
TravisTX 23eb73cd69 fix: fix lastexitcode 2020-12-30 16:30:51 +01:00
TravisTX c9075268ad refactor: switch to original jsonc library 2020-12-30 08:36:13 +01:00
Jan De Dobbeleer 0e7849cde3 fix: msys2 compatibility
resolves #281
2020-12-29 21:53:07 +01:00
lnu 9013a5b3d4 chore: doc updated(Get an editor) 2020-12-29 21:47:04 +01:00
lnu 36e69a1f7e chore: launch.json args syntax 2020-12-29 21:47:04 +01:00
lnu d0055682ad chore: set golangci-lint as linter
Same as in the CI process
2020-12-29 21:47:04 +01:00