Commit graph

532 commits

Author SHA1 Message Date
allcontributors[bot] 5568f39424 docs: update docs/docs/contributors.md [skip ci] 2022-01-22 11:43:41 +01:00
dependabot[bot] 81b1bc63fd chore: bump nanoid from 3.1.23 to 3.2.0 in /docs
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 08:03:19 +01:00
Jan De Dobbeleer e6d4413ae7 feat: adjust var names for consistency
BREAKING CHANGE: adjusts the way some segment work for templates.

Mapping the var names as following will resolve the issue.
- session/title/general purpose
    - .Host -> .HostName
    - .User -> .UserName
- az
    - .UserName -> .Name
- kubectl
    - .UserName -> .User
2022-01-17 16:29:39 +01:00
dependabot[bot] badb2ffc5e chore: bump shelljs from 0.8.4 to 0.8.5 in /docs
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-15 08:44:48 +01:00
allcontributors[bot] 73a3c3baf3 docs: update docs/docs/contributors.md [skip ci] 2022-01-14 22:51:42 +01:00
Jan De Dobbeleer d71422a35b feat(git): add remote URL for hyperlink 2022-01-14 22:50:24 +01:00
Jan De Dobbeleer 2ea2e633b8 fix(az): map User to UserName
avoid collision with default .User in template
2022-01-14 08:51:53 +01:00
Jan De Dobbeleer 5c586696ac docs(az): add .Origin info
relates to #1562
2022-01-14 08:51:53 +01:00
Jan De Dobbeleer 7aaae67a77 chore: update docusaurus 2022-01-13 21:15:18 +01:00
dependabot[bot] 053d48a66f
chore: update follow-redirects from 1.14.1 to 1.14.7 2022-01-13 21:11:43 +01:00
dependabot[bot] 2536c196ac
chore: update follow-redirects from 1.14.6 to 1.14.7 2022-01-13 21:11:18 +01:00
Jan De Dobbeleer f512df208a feat: expose environment info to all templates 2022-01-13 20:15:04 +01:00
allcontributors[bot] 826a59a007 docs: update docs/docs/contributors.md [skip ci] 2022-01-12 23:42:31 +01:00
allcontributors[bot] 6856154f67 docs: update docs/docs/contributors.md [skip ci] 2022-01-12 12:12:01 +01:00
lnu c687512fba feat(strava): add hyperlink to activity
VirtualRide icon like Ride
Watts, HearRate, Kudos info
2022-01-11 12:15:39 +01:00
Jan De Dobbeleer a36063a580 fix(strava): rename Icon 2022-01-10 22:17:57 +01:00
Jan De Dobbeleer 3f3ac131b3
docs: new code block theme 2022-01-10 22:02:07 +01:00
Lars Erik Finholt d2bf556e94 feat(strava): new segment 2022-01-10 21:44:28 +01:00
Jan De Dobbeleer 00a09ca894
docs: expose expires_in for authentication 2022-01-10 21:17:57 +01:00
Jan De Dobbeleer bd39e2aa12
docs: provide error context in authentication 2022-01-10 17:40:00 +01:00
Jan De Dobbeleer 6f0bdab9b2
docs: fix redirect 2022-01-09 21:54:30 +01:00
Jan De Dobbeleer d107f0af1c
docs: api debug settings 2022-01-09 20:24:47 +01:00
Jan De Dobbeleer bd299c924e
docs: fix proxy setting 2022-01-09 13:53:14 +01:00
Jan De Dobbeleer e9910c4a3e
docs: fix missing URLSearchParams 2022-01-09 10:25:45 +01:00
Jan De Dobbeleer 400edaae78
docs: redirect to auth page 2022-01-09 10:25:45 +01:00
allcontributors[bot] 5a20415665
docs: update docs/docs/contributors.md [skip ci] 2022-01-09 10:25:45 +01:00
Jan De Dobbeleer a4727ddbbd
docs: add refresh_token endpoint 2022-01-09 10:25:45 +01:00
Jan De Dobbeleer 195f5160b4
refactor(docs): use better api logic 2022-01-04 19:18:15 +01:00
Jan De Dobbeleer 57f807a24f docs: typo 2022-01-04 09:41:28 +01:00
Jan De Dobbeleer 2c35779900 feat: preliminary auth for strava 2022-01-04 09:41:28 +01:00
Jan De Dobbeleer d59ab5e4e0
docs: add template api function 2022-01-03 17:47:55 +01:00
Jan De Dobbeleer b0699a31ff docs: adjust towards refactor 2022-01-01 20:22:52 +01:00
Jan De Dobbeleer 29e019511a refactor: move properties to interface 2022-01-01 20:22:52 +01:00
Jan De Dobbeleer 92b234a225 docs(text): replace text with template 2021-12-30 19:39:35 +01:00
Jan De Dobbeleer ad5c77a61b feat: parse azure config files 2021-12-29 16:58:06 +01:00
Jan De Dobbeleer 3c40c04d36 feat: deprecate envvar segment
favors text in a more generic way
2021-12-26 19:46:28 +01:00
Khaos ce04362bb4
feat(wifi): read wifi state using native methods 2021-12-26 17:17:44 +01:00
allcontributors[bot] fd1331a046 docs: update docs/docs/contributors.md [skip ci] 2021-12-24 12:38:57 +01:00
Aniket Teredesai cde9a8404b
docs(faq): add missing period and simplify language 2021-12-24 12:38:28 +01:00
Robbert Verbruggen b245398661 feat(ipify): segment to show your external IP address
closes #1492
2021-12-23 15:56:27 +01:00
Jan De Dobbeleer 52d7badbac docs: add Gitkraken link 2021-12-22 14:46:51 +01:00
Jan De Dobbeleer 2e95b6a8e0 docs: add Twitter link to header 2021-12-22 14:46:51 +01:00
allcontributors[bot] 59226660c7 docs: update docs/docs/contributors.md [skip ci] 2021-12-21 20:14:36 +01:00
James ccc22c4a30 docs: fix typos in plastic scm testing docs 2021-12-21 20:13:50 +01:00
memcpy-rand-rand-rand 0b4f3e1771 feat(brewfather): unit conversion routines
functions available to template
documentation
tests
2021-12-20 18:42:44 +01:00
Jan De Dobbeleer 384d0046f7 docs: highlight the use of Nerd Fonts
relates to #1464
2021-12-19 11:33:38 +01:00
allcontributors[bot] e750a0bf73 docs: update docs/docs/contributors.md [skip ci] 2021-12-19 09:36:05 +01:00
allcontributors[bot] 247b969fff docs: update docs/docs/contributors.md [skip ci] 2021-12-19 09:34:45 +01:00
Jan De Dobbeleer 7805ee1a27 feat(path): add template 2021-12-17 22:52:17 +01:00
Aniket Teredesai d253b928ed docs: add instructions to disable venv prompt (python)
Add details for Python users to disable the automatic prompt change
with the `venv` library's virtual environments to solely rely on
Oh My Posh for the info.

closes #1456
2021-12-17 22:52:17 +01:00
Jan De Dobbeleer e887f4ecea docs: adjust install guide for consistency
resolves #1452
2021-12-17 22:52:17 +01:00
Matt Wojciakowski 8546ec3ca0
docs: correct homebrew link 2021-12-16 19:53:03 +01:00
memcpy-rand-rand-rand 89ece8d68a feat(brewfather): new fields, fixes
add batch fields
update doc with new fields and fix ref to .DefaultString
complete schema definition
2021-12-16 16:16:48 +01:00
allcontributors[bot] 796c6b6fcf docs: update docs/docs/contributors.md [skip ci] 2021-12-16 08:22:17 +01:00
Matt Wojciakowski e0279be8b2 Next steps link for path
brew command won't work without updating path and profile script -- just a suggestion to add to the install doc for folks not famiiar with Homebrew
2021-12-16 08:21:35 +01:00
William Leach 210a38575b docs(brewfather): fix missing entry in sidebars.js 2021-12-15 13:45:00 +01:00
Will 0d079a4d8a
feat(brewfather): add segment 2021-12-15 07:49:32 +00:00
Jan De Dobbeleer af112277a8 feat(go): parse go.mod file for version 2021-12-14 09:42:30 +01:00
Jan De Dobbeleer fb1ed7f695
docs: fix typo's in nightscout 2021-12-13 17:19:53 +01:00
Khaos66 0fb5951375 feat(wakatime): add segment 2021-12-13 11:58:54 +01:00
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