Commit graph

10 commits

Author SHA1 Message Date
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