Commit graph

15 commits

Author SHA1 Message Date
Jan De Dobbeleer 3ca2cb5ef3 feat: zsh rprompt compatibility 2020-12-18 19:36:31 +01:00
Jan De Dobbeleer 1777f1df38 feat: provide millis from oh-my-posh
resolves #231
2020-12-12 13:45:04 +01:00
TravisTX 5f7b1f6ac6 feat: execution time segment 2020-12-08 09:05:22 +01:00
Jan De Dobbeleer bd972809d6 fix: external variable comment 2020-11-22 18:04:51 +01:00
Jan De Dobbeleer a73641d2d7 fix: pass version correctly
resolves #176
2020-11-20 13:03:53 +01:00
MJECloud 45b50fba3b feat: switch version 2020-11-20 09:58:33 +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
Jan De Dobbeleer 8fb190e074 refactor: linting checks for all platforms 2020-11-12 14:04:52 +01:00
Jan De Dobbeleer c1245690c0 feat: print current shell switch 2020-11-03 15:24:30 +01: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 1d8e7b2458 refactor: change powerline config to segment 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 6c17689966 refactor: format shell name better 2020-09-24 19:34:19 +02:00
Jan De Dobbeleer f478255bbf refactor: escape color sequences on zsh 2020-09-24 19:34:19 +02:00
Jan De Dobbeleer 6fd9f0bdd9 fix: render newline correctly cross platform/shell
Powershell has an issue rendering multiline prompts when it comes to
PSReadline on MacOS. To mitigate that, we make it a multiline
prompt by moving the cursor all the way to the end. That way, PSReadline
believes this is still a one line prompt and everything works as
expected.

https://github.com/PowerShell/PowerShell/issues/3687
2020-09-17 12:38:01 +02:00
Jan De Dobbeleer c4d1c75781 feat: initial commit 2020-09-12 08:57:18 +02:00