Commit graph

102 commits

Author SHA1 Message Date
Jan De Dobbeleer 636ec436eb feat(pwsh): support 32 bit systems
resolves #479
2021-03-03 19:20:32 +01:00
Jan De Dobbeleer 59b0595c5b fix(pwsh): do not validate permissions before set
the current implementation is too flacky and breaks the module on
certain unix systems

relates to #393
2021-02-18 17:07:19 +01:00
Jan De Dobbeleer 9b137827e1 fix(pwsh): correct encoding for config export
resolves #425
2021-02-18 10:46:21 +01:00
Jan De Dobbeleer e51685607d feat(pwsh): move out of beta 2021-02-16 09:00:02 +01:00
Jan De Dobbeleer b59b4197dc chore: rename repository 2021-02-16 09:00:02 +01:00
Jan De Dobbeleer 9db255e06f fix(pwsh): do not check for write permissions
as this permission is already present, it does not set executable
permissions when needed rsulting is a crashing command

resolves #393
2021-02-11 19:18:51 +01:00
Jan De Dobbeleer 7e1a5ecdc5 refactor(pwsh): remove Set-Theme from V2 deprecation list
this conflicts with other tooling such as Terminal-Icons that also
has a Set-Theme cmdlet. Overriding this will break that functionality.

relates to #382
2021-02-07 07:39:50 +01:00
TravisTX 55fb04335e fix: theme completion 2021-02-06 07:41:29 +01:00
Rob Cannon 5a57cffcdd fix: check permissions before attempting chmod
closes #363
2021-01-24 13:14:55 +01:00
Jan De Dobbeleer ee4b039e7a feat(pwsh): add context for V2 users 2021-01-19 19:22:46 +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 edebc1d465 refactor: align pwsh module with init 2021-01-17 19:25:19 +01:00
Jan De Dobbeleer 780722a371 refactor(powershell): use PSDrive path
resolves #329
2021-01-09 20:00:39 +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
TravisTX 23eb73cd69 fix: fix lastexitcode 2020-12-30 16:30:51 +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
Jan De Dobbeleer a1b2b8d67b feat: initialize pwsh starship style 2020-12-23 10:02:20 +01:00
TravisTX 21f01d69e8 feat: execution time for powershell 5 2020-12-19 21:47:08 +01:00
Jan De Dobbeleer b229c4dcad fix: powershell duration can be $null
resolves #236
2020-12-14 12:28:53 +01:00
TravisTX 5f7b1f6ac6 feat: execution time segment 2020-12-08 09:05:22 +01:00
Jan De Dobbeleer bd4d563245 fix: ignore error code 0 for non-native errors
resolves #207
2020-12-02 09:53:41 +01:00
PIYUSH194 732035dfa1 feat: support Powershell 5 2020-12-01 20:49:51 +01:00
Jan De Dobbeleer 56a58c700a fix: auto complete themes in Powershell 2020-11-28 19:56:55 +01:00
Jan De Dobbeleer e68be7aa44 feat: use *.omp.json as theme format 2020-11-28 19:29:44 +01:00
Wolfspirit 991ce4b4ce fix: empty error code handling in docs and module 2020-11-26 15:20:35 +01:00
lnu bea3258758 feat: new ShowDebug parameter
calculate each segment timing
new parameter to show/hide segment debug information
set-poshprompt updated with the new showDebug parameter

Force disabled segment to be visible for debug purpose
2020-11-19 19:03:56 +01:00
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 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