Commit graph

81 commits

Author SHA1 Message Date
lnu 1f3c253e45 feat: get native and powershell error code
Check native and powershell errors before sending it to oh-my-posh
2020-11-18 10:51:11 +01:00
Jan De Dobbeleer 8fb190e074 refactor: linting checks for all platforms 2020-11-12 14:04:52 +01:00
Jan De Dobbeleer aa36303962 fix: set $Global:GitStatus when Get-GitStatus exists
resolves #126
2020-11-08 14:09:38 +01:00
Jan De Dobbeleer e798ad0623 fix: user correct path and statement
resolves #119
2020-11-02 14:23:09 +01:00
Jan De Dobbeleer 1df4549b8d fix: add post-install to scoop 2020-11-01 17:29:52 +01:00
Jan De Dobbeleer 0f30953212 feat: add themes to scoop 2020-11-01 17:24:29 +01:00
Jan De Dobbeleer 89503bd6a1 fix: rename scoop json 2020-11-01 13:53:44 +01:00
Jan De Dobbeleer 16e9fd2c6e fix: run post-install script 2020-11-01 11:44:26 +01:00
Jan De Dobbeleer 0f9ef8b9b6 feat: scoop support 2020-10-31 21:31:57 +01:00
Jan De Dobbeleer 58a03f1c97 fix: remove escape characters from $PWD
resolves #111
2020-10-30 14:18:17 +01:00
Jan De Dobbeleer 8986c3b621 fix: use correct path for ProcessStartInfo
resolves #112
2020-10-30 14:18:17 +01:00
Jan De Dobbeleer dc6548572f fix: resolve path before assigning theme
resolves #107
2020-10-28 11:05:34 +01:00
Jan De Dobbeleer ab0a415a3b fix: call Set-PoshContext first
resolves #103
2020-10-27 12:22:02 +01:00
Jan De Dobbeleer 33c40ebf39 fix: theme paths with spaces
resolves #100
2020-10-27 10:49:08 +01:00
Jan De Dobbeleer 6deeb55fd2 fix: provide full path to executable
resolves #98
2020-10-25 19:43:01 +01:00
Jan De Dobbeleer 8155c4b232 fix: powershell invocation 2020-10-24 19:51:00 +02:00
Jan De Dobbeleer 86d68700c1 refactor: adjust logo in Powershell 2020-10-16 11:18:19 -07:00
Jan De Dobbeleer 9627b905e6 fix: catch error setting encoding outside of console 2020-10-12 16:28:03 +02:00
Jan De Dobbeleer c49a8ee443 feat: env var segment 2020-10-09 20:54:41 +02:00
Jan De Dobbeleer 8978038a3c fix: use PWD for current dir
On Windows, when in the registry, os.Getwd() returns the previous
path rather than the registry location. Settings PWD as an environment
variable might seem hacky but it's the only way to resolve this.

Resolves #40
2020-10-09 08:25:06 +02:00
Jan De Dobbeleer 41822b81fd refactor: no masters 2020-10-05 19:44:46 +02:00
Jan De Dobbeleer d3207328e5 refactor: hello world oh-my-posh3 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 2b0b36b835 refactor: rename Themes folder for consistency 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer ddcd4c635b refactor(pwsh): print the currently selected theme 2020-09-21 08:01:24 +02:00
Jan De Dobbeleer 2fee6237b6 fix(pwsh): invoke executable correctly on import 2020-09-21 08:01:24 +02:00
Jan De Dobbeleer 56fc37214f refactor(pwsh): default to jandedobbeleer theme 2020-09-20 19:48:24 +02:00
Jan De Dobbeleer 401c5b3265 fix(pwsh): fix invocation of executable 2020-09-20 19:48:24 +02:00
Jan De Dobbeleer 87325c5a05 fix(pwsh): run command once on module import 2020-09-20 09:55:41 +02:00
Jan De Dobbeleer 18746bdc4b feat(pwsh): theme parameter is optional 2020-09-20 09:55:41 +02:00
Jan De Dobbeleer 177f328ac6 fix: enable ANSI color support on Windows
resolves #5
2020-09-20 09:55:41 +02:00
Jan De Dobbeleer f3582d229e feat(pkg): add PowerShell package 2020-09-16 10:46:50 +02:00