Commit graph

321 commits

Author SHA1 Message Date
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
lnu ed8fb232ce chore: recommended vscode extensions
Go, test explorer, github, prettier, markdwon all-in-one and markdownlint
2020-12-29 21:47:04 +01:00
lnu 0fcf7cc8be feat: replace debug information with a new layout
Similar as Starship timings command
2020-12-29 21:47:04 +01:00
TravisTX eefc689ec9 docs: fix json 2020-12-27 22:59:16 +01:00
Laurent Nullens 8c812812ee fix: *env.args.Shell not set in getShellName(cache never used)
*env.args.Shell was never set in getShellName.
2020-12-27 22:38:03 +01:00
Jan De Dobbeleer b4d23a4716 chore: adjust shell arguments 2020-12-27 18:23:40 +01:00
Jan De Dobbeleer 9e7d901fb6 feat: set console title with template 2020-12-27 18:23:40 +01:00
Jan De Dobbeleer b427a0e8a4 refactor: cache shell name 2020-12-27 18:23:40 +01:00
Jan De Dobbeleer 85ee0bb0c0 refactor: typo in EOL 2020-12-27 18:23:40 +01:00
Jan De Dobbeleer d9cf3b0e40 fix: only clear eol on Powershell
related to #277
2020-12-27 18:23:40 +01:00
Jan De Dobbeleer 59282c088d refactor: separate ansi formats 2020-12-27 18:23:40 +01:00
Jan De Dobbeleer e9c65948c1 refactor: separate consoletitle logic 2020-12-27 18:23:40 +01:00
Laurent Nullens 969b54420a fix: avoid emitting empty ansi color codes
When there's no color override an empty string is emitted.
The fix reduces the emitted output by 40% approximatively with the default theme(1604 -> 1138).
2020-12-27 11:39:05 +01:00
Laurent Nullens 077b839a9d fix: .gitignore updated with the new /src structure
/oh-my-posh3 set to /src/oh-my-posh3
2020-12-27 08:11:58 +01:00
Jan De Dobbeleer 6cef6b8550 revert: remove config from release 2020-12-26 14:49:12 +01:00
Jan De Dobbeleer f0fd885d95 chore: include refactor/revert in changelog 2020-12-26 14:44:11 +01:00
Jan De Dobbeleer 973d7e6369 chore: add enhancement to non-stale issues 2020-12-26 14:20:10 +01:00
Jan De Dobbeleer 1e71ea341a chore: add commitlint type config 2020-12-26 14:20:10 +01:00
Jan De Dobbeleer ac5dd0f76b refactor: use personal fork of jsonc 2020-12-26 14:20:10 +01:00
Jan De Dobbeleer 3c7b3447d5 refactor: upgrade distatus/battery 2020-12-26 14:20:10 +01:00
Jan De Dobbeleer 9a47ed71b7 refactor: upgrade gookit/color 2020-12-26 14:20:10 +01:00
Jan De Dobbeleer 1e330b90ee refactor: use go-ps from origin 2020-12-26 14:20:10 +01:00
TravisTX 1cfed78576 feat: allow custom folder separator for all styles 2020-12-26 08:30:29 +01:00
Jan De Dobbeleer c4cb6772e9 chore: adjust contributing docs 2020-12-25 20:48:14 +01:00
Jan De Dobbeleer ed2eac8e12 feat: adjust source code layout 2020-12-25 20:11:24 +01:00