Commit graph

1084 commits

Author SHA1 Message Date
will 2ccaf90cbf refactor(winreg): make windows registry query function more general
simplify config definition, requires one prop to define path and key
add variant return type
add template-accessible query functions on the segment for advanced use
2021-12-12 20:25:02 +01:00
allcontributors[bot] 6b0b7c2b1b docs: update .all-contributorsrc [skip ci] 2021-12-11 22:54:57 +01:00
allcontributors[bot] 0b2e0a53c1 docs: update docs/docs/contributors.md [skip ci] 2021-12-11 22:54:57 +01:00
Khaos 457f439a9f
feat(plastic): add Plastic SCM segment
* feat(plastic): added Plastic SCM segment

* refactor(plastic): polished new Plastic SCM segment

* refactor: moved common scm segment code into base type

git and plastic share some common methods and status properties. So moving them in a base type keeps the code base DRY

* doc(plastic): Added docs for manual testing Plastic SCM

* fix(plastic): Show files with merge conflicts as unmerged

* fix(plastic): adhere to empty string check guidelines

* fix(plastic): fixed linter errors

* fix(pwsh): alert when we can't download dependencies

resolves #1382

* refactor(plastic): polished new Plastic SCM segment

* refactor: moved common scm segment code into base type

git and plastic share some common methods and status properties

* docs(plastic): added docs for manual testing Plastic SCM

* fix(plastic): show files with merge conflicts as unmerged

* fix(plastic): adhere to empty string check guidelines

* fix(plastic): fixed linter errors

Co-authored-by: Jan De Dobbeleer <jan.de.dobbeleer@gmail.com>
Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
2021-12-11 22:08:47 +01:00
Jan De Dobbeleer d52f917782 feat(path): agnoster left
resolves #1411
2021-12-11 20:40:32 +01:00
Khaos66 403bf12401 refactor: refactored ignoreErr func to return bool value 2021-12-11 14:49:04 +01:00
Khaos66 6893008467 docs(battery): updated the ChargeRate description 2021-12-11 14:49:04 +01:00
Khaos66 63b20f7e43 fix(battery): ignore UnknownChareRate error
This error is returned when Windows can't get the charge rate from the battery
2021-12-11 14:49:04 +01:00
Laurent Nullens c67148670c
fix(git): worktree folder init 2021-12-09 15:13:47 +00:00
lnu d3c3dea1d7 feat(language): parameter for version detection
applied to angular segment to read version from package.json
2021-12-09 16:01:10 +01:00
Jan De Dobbeleer adb49d1cd0 fix(pwsh): alert when we can't download dependencies
resolves #1382
2021-12-09 00:17:05 +01:00
Jan De Dobbeleer d9e642a132
fix(git): initialize status correctly 2021-12-08 14:53:41 +01:00
Jan De Dobbeleer f25ade45cf
chore(release): update cosign 2021-12-08 13:52:14 +01:00
Jan De Dobbeleer 930fc2bfcc refactor(git): branch status as setter 2021-12-08 13:46:29 +01:00
Jan De Dobbeleer 04f841d1b3 fix(git): initialize status correctly 2021-12-08 13:46:29 +01:00
Jan De Dobbeleer 4294351e6f revert(windows): force the use of .exe
This reverts commit f00f5f9cf7.
Resolves #1387
2021-12-08 13:46:29 +01:00
Jan De Dobbeleer 75eb09e6dc fix(color): do not fail on nil colors
resolves #1388
2021-12-08 13:46:29 +01:00
Jan De Dobbeleer 98472abafc feat(git): better logic 2021-12-08 13:46:29 +01:00
Jan De Dobbeleer 4f921dbb0f
fix(winget): adjust templates to latest spec
relates to https://github.com/microsoft/winget-pkgs/pull/36977
2021-12-05 20:49:50 +01:00
Jan De Dobbeleer 0e5fc7dbe0
feat(windows): use go fork for faster exec 2021-12-05 19:36:50 +01:00
Naccl b45e0767a9
theme: add capr4n
Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
2021-12-04 21:17:28 +01:00
Jan De Dobbeleer 796ec4125d feat(node): templating support
resolves #1253
2021-12-04 13:13:05 +01:00
Jan De Dobbeleer 29afb86e61 feat(python): virtual env in template 2021-12-04 13:13:05 +01:00
Jan De Dobbeleer f495a7093a feat(language): add error text to template properties 2021-12-04 13:13:05 +01:00
Jan De Dobbeleer e866c6bf76 feat(python): add virtual env name to template properties 2021-12-04 13:13:05 +01:00
Jan De Dobbeleer 39a27b29ad refactor(session): deprecate ssh_icon 2021-12-04 13:13:05 +01:00
Tiago Bovolin f3f2985543
theme(spaceship): move prompt below user 2021-12-04 00:25:33 +01:00
Jan De Dobbeleer a08a3a9a21 feat(session): refactor for template 2021-12-03 23:50:50 +01:00
Jan De Dobbeleer f00f5f9cf7 fix(windows): force the use of .exe
resolves #1369
2021-12-03 22:01:44 +01:00
Jan De Dobbeleer 3a4e21c36d docs(language): template properties 2021-12-03 22:01:44 +01:00
Jan De Dobbeleer a24786b97d feat(language): expose version info 2021-12-03 20:27:29 +01:00
Jan De Dobbeleer d477923f16
fix(release): only hash executables 2021-12-03 13:51:56 +01:00
Jan De Dobbeleer 7b5572e73c fix: create properties when nil
resolves #1366
2021-12-03 12:22:22 +01:00
Harmjan Greving f2ee958ec1 docs: remove unnecessary whitespace 2021-12-03 06:58:24 +01:00
Dynasign 7aa2f86a77 docs: segment nightscout mmol template 2021-12-03 06:58:24 +01:00
Jan De Dobbeleer 6b02ae47f7 feat: sign releases with cosign 2021-12-02 22:53:04 +01:00
allcontributors[bot] 8f412dba7e docs: update .all-contributorsrc [skip ci] 2021-12-02 22:46:53 +01:00
allcontributors[bot] 6833a0d81f docs: update docs/docs/contributors.md [skip ci] 2021-12-02 22:46:53 +01:00
Dynasign c26fb45b58 docs: rename file 2021-12-02 22:46:24 +01:00
Dynasign aed4a87fd6 docs: segment nightscout template for mmol display 2021-12-02 22:46:24 +01:00
Jan De Dobbeleer e7d83637a8
fix: build when workflows change 2021-12-02 07:54:49 +01:00
Jan De Dobbeleer 73bc6d92cd
fix(upx): revert shrink windows and unix binaries
This reverts commit 894c678a50.
2021-12-01 22:44:06 +01:00
Jan De Dobbeleer 06258dc256 fix(pwsh): allow powershell 5 init 2021-12-01 19:30:35 +01:00
Jan De Dobbeleer 7fae781fff feat: fish rprompt
resolves #1356
2021-12-01 19:22:11 +01:00
Jan De Dobbeleer 894c678a50 feat(upx): shrink windows and unix binaries 2021-12-01 18:54:00 +01:00
Jan De Dobbeleer 853219d0c5 refactor: rename to test 2021-12-01 18:54:00 +01:00
Jan De Dobbeleer 7b4333ae77 feat: smaller binaries 2021-11-30 21:14:08 +01:00
Jan De Dobbeleer 89e2c28192 chore: docs run task 2021-11-30 08:28:27 +01:00
Jan De Dobbeleer 372fbc6f03 docs(brew): info regarding shell reload
resolves #1287
2021-11-30 08:28:27 +01:00
lnu 82cad90aa0 fix(pwsh): restore pwsh 5 support
In PowerShell 6+, the default encoding is UTF-8 without BOM on all
platforms.
In Windows PowerShell, the default encoding is usually Windows-1252,
an extension of latin-1, also known as ISO 8859-1.
2021-11-30 06:41:40 +01:00