Commit graph

422 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] 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 6893008467 docs(battery): updated the ChargeRate description 2021-12-11 14:49:04 +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
Jan De Dobbeleer a08a3a9a21 feat(session): refactor for template 2021-12-03 23:50:50 +01:00
Jan De Dobbeleer 3a4e21c36d docs(language): template properties 2021-12-03 22:01:44 +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
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 7fae781fff feat: fish rprompt
resolves #1356
2021-12-01 19:22:11 +01:00
Jan De Dobbeleer 372fbc6f03 docs(brew): info regarding shell reload
resolves #1287
2021-11-30 08:28:27 +01:00
will c328513410 fix: remove space, should now match 2021-11-29 16:22:03 +01:00
will 1c9a73fef0 fix: undo erroneous 'fix' to segment contrib doc 2021-11-29 16:22:03 +01:00
will 18570c9cd0 feat(winreg): squashed commits 2021-11-29 16:22:03 +01:00
julesrx 23cbc17f99
docs: instructions for manual install on Linux 2021-11-28 19:36:17 +01:00
Jan De Dobbeleer 64a9e65e74 docs(windows): simplify installation guide 2021-11-28 15:24:48 +01:00
Jan De Dobbeleer a357becb85 feat: pwsh module as install facilitator 2021-11-28 15:24:48 +01:00
Stefan Hacker 7a73bcff0b feat: enable kubectl segment to read kubeconfig
This extends the kubectl segment to optionally not rely on the
kubectl command and instead to directly parse kubeconfig files like
kubectl does. This is meant as a performance optimization similar
to how the git segment can determine the current branch itself
without calling to git. Especially on Windows and in the presence
other factors slowing process creation like like AntiVirus this
can make shells using the segment considerably more responsive.

The functionality is enabled using the new parse_kubeconfig prop.
It defaults to false to prevent breaking existing users in case
there are any unanticipated behavioral changes.

Additionally the new template properties Cluster and User were
added as they are easily available and helpful in kubectl
setups with more elaborate configuration.
2021-11-26 18:22:40 +01:00
Jan De Dobbeleer eea4723520 chore(docs): update dependencies 2021-11-26 14:25:20 +01:00
Jan De Dobbeleer e81c71410a docs: fix homebrew doc import 2021-11-26 12:07:41 +01:00
Jan De Dobbeleer 09df670e07 refactor: use properties as map type 2021-11-26 11:11:07 +01:00
Jan De Dobbeleer 8e82d2b80c docs(linux): install via brew 2021-11-26 08:52:30 +01:00
Jan De Dobbeleer b94e96dd15 refactor(battery): remove legacy properties 2021-11-25 13:59:36 +01:00
Jan De Dobbeleer 4cbb3e6cf3 fix(winreg): fallback value on error or empty 2021-11-25 09:31:18 +01:00
Jan De Dobbeleer 30c82c2f56 chore(nightscout): add all object properties 2021-11-25 09:00:59 +01:00
lnu 8269148aab docs(wifi): fix config block
disable md013 for code blocks(md)
2021-11-25 07:33:43 +01:00
allcontributors[bot] f4a95ecd16 docs: update docs/docs/contributors.md [skip ci] 2021-11-24 23:30:16 +01:00
allcontributors[bot] 1503579695 docs: update docs/docs/contributors.md [skip ci] 2021-11-24 23:28:21 +01:00
allcontributors[bot] fd8313f804 docs: update docs/docs/contributors.md [skip ci] 2021-11-24 20:49:17 +01:00
Mike Sigsworth 43b68f1b44 docs(wifi): missed a colon 2021-11-24 20:47:27 +01:00
Jan De Dobbeleer 17751107a8 feat(windows): registry query segment 2021-11-24 14:24:02 +01:00
Mike Sigsworth 9232a039ec docs: added wifi docs and schema 2021-11-24 11:31:43 +01:00
Mike Sigsworth 4a68c444c6 feat(wifi): added wifi segment for windows and wsl 2021-11-24 11:31:43 +01:00
Scott Hanselman fd81f4a00c feat: nightscout segment 2021-11-24 11:05:06 +01:00
Yehor Borkov 9ecd7c09a4
feat(palette): a map of named color values
introducing a map of named standard color
values that can be referenced in theme segments
2021-11-22 15:25:56 +01:00
Jan De Dobbeleer 862d37bb7b docs: update contributing guide 2021-11-22 13:28:50 +01:00
Jan De Dobbeleer d422325f98 feat(pwsh): download executable from module 2021-11-22 11:53:28 +01:00
lnu 9f200a8930 ci: remove wsl executable from windows packages
for wsl, a manual install is required(linux install).
2021-11-22 10:49:41 +01:00
Jan De Dobbeleer f27868e260
docs: adjust broken link
closes #1259
2021-11-20 13:56:37 +01:00
Laurent Nullens a71d1f7454
feat(terraform): use template 2021-11-20 10:14:26 +00:00
Laurent Nullens e495a885a7 docs: sysinfo not ordered correctly in sidebar 2021-11-19 14:07:00 +01:00
lnu 25be370618 feat(sysinfo): sysinfo segment
cpu, mem, load, ...
2021-11-19 13:44:00 +01:00