Commit graph

3577 commits

Author SHA1 Message Date
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 7d8892020e chore: remove unused dependency 2020-09-21 20:29:50 +02:00
Jan De Dobbeleer f410c32f6e refactor: remove powerline bg color 2020-09-21 20:29:50 +02:00
Jan De Dobbeleer bbeba938f6 refactor: make background color optional 2020-09-21 20:29:50 +02:00
Jan De Dobbeleer f5482dc1da fix: create release for chores 2020-09-21 11:51:03 +02:00
Jan De Dobbeleer 23448df280 chore: update dependencies 2020-09-21 09:27:20 +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 8a3f330af4 refactor: do not merge settings
This feature no longer serves its purpose
2020-09-20 19:48:24 +02:00
Jan De Dobbeleer 2603ff51bf refactor: strip .exe from shell names 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 b973599a02 fix: use correct dependency for color
The actual fix is waiting on a merge upstream, in the meantime we can
use the fork.

https://github.com/gookit/color/pull/28
2020-09-20 13:22:53 +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 f73a308a0d chore: update README with PowerShell module info 2020-09-17 17:47:32 +02:00
Jan De Dobbeleer db212d513f fix: ignore segments without writer 2020-09-17 17:47:32 +02:00
Jan De Dobbeleer a639240f9c feat: add node version segment 2020-09-17 17:47:32 +02:00
Jan De Dobbeleer 34094b0480 fix: adjust themes according to latest changes 2020-09-17 12:38:01 +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 5c4af19d90 feat: add shell info segment 2020-09-16 10:46:50 +02:00
Jan De Dobbeleer 2791b180b2 fix: remove incorrect percentage indicator 2020-09-16 10:46:50 +02:00
Jan De Dobbeleer 9b9405978e fix: make newline compatible cross shell
When using PowerShell, "\n" isn't recognized as a newline character.
To resolve this, moving the cursor down 1 line is more interesting
as it will work in any shell using ANSI escape sequences (which we
depends upon).
2020-09-16 10:46:50 +02:00
Jan De Dobbeleer f3582d229e feat(pkg): add PowerShell package 2020-09-16 10:46:50 +02:00
Jan De Dobbeleer c4d1c75781 feat: initial commit 2020-09-12 08:57:18 +02:00