Commit graph

2865 commits

Author SHA1 Message Date
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
Laurent Nullens 4d925b69ba chore(devcontainer): fix path 2021-11-26 14:55:36 +01:00
Jan De Dobbeleer 900f5bc672 chore(go): remove unused dependency 2021-11-26 14:25:20 +01:00
Jan De Dobbeleer eea4723520 chore(docs): update dependencies 2021-11-26 14:25:20 +01:00
Jan De Dobbeleer c30901ba81 chore(go): update dependencies 2021-11-26 14:25:20 +01:00
lnu 435e362256 feat(language): add configurable extensions 2021-11-26 13:09:02 +01:00
Jan De Dobbeleer 5256c90531 chore: a better PowerShell experience 2021-11-26 12:44:44 +01:00
Jan De Dobbeleer 024ff06a47 chore: ignore platform specific files 2021-11-26 12:44:44 +01:00
Jan De Dobbeleer e81c71410a docs: fix homebrew doc import 2021-11-26 12:07:41 +01:00
Jan De Dobbeleer d31a24c654 chore: fix devcontainer setup 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 e8a4fa19b7 fix(git): do not use git.exe on WSL 1 2021-11-25 14:28:18 +01:00
Jan De Dobbeleer b94e96dd15 refactor(battery): remove legacy properties 2021-11-25 13:59:36 +01:00
Jan De Dobbeleer fa38b516b1 refactor(battery): use struct inheritance 2021-11-25 13:59:36 +01:00
Jan De Dobbeleer 6f4f809790 fix(winget): add version correctly 2021-11-25 11:17:58 +01:00
Jan De Dobbeleer 921e05850d refactor: rename build file 2021-11-25 11:17:58 +01:00
Jan De Dobbeleer 5b5666b5b0 feat: add go-releaser 2021-11-25 10:58:30 +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
Jan De Dobbeleer 1075b82e10 fix(nightscape): do not fail on empty array 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] f62b82dacb docs: update .all-contributorsrc [skip ci] 2021-11-24 23:30:16 +01:00
allcontributors[bot] f4a95ecd16 docs: update docs/docs/contributors.md [skip ci] 2021-11-24 23:30:16 +01:00
allcontributors[bot] 241e9b6896 docs: update .all-contributorsrc [skip ci] 2021-11-24 23:28:21 +01:00
allcontributors[bot] 1503579695 docs: update docs/docs/contributors.md [skip ci] 2021-11-24 23:28:21 +01:00
allcontributors[bot] aed9242cb8 docs: update .all-contributorsrc [skip ci] 2021-11-24 20:49:17 +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 30ea89a45b refactor: inherit struct 2021-11-24 14:28:32 +01:00
Jan De Dobbeleer 17751107a8 feat(windows): registry query segment 2021-11-24 14:24:02 +01:00
Jul Guga 68c07a7f24
theme: update night-owl
* update: theme night-owl

- Added sysinfo & php segment
- Changed java background color
- Small fixes

* theme: update night-owl

- Added sysinfo & php segment
- Changed java background color
- Small fixes
2021-11-24 13:08:51 +01:00
Luis Felipe Sánchez 737db78bdc
theme: add atomic bit
* oh-my-posh theme

New Atomic Style Theme by lfelipe1501

* Atomic Theme for oh-my-posh

Update theme

* Update atomic.omp.json

improved and adjusted attending the recommended improvements

* Update Theme Atomic

Small fixes and improvements

* New Theme Atomic Bundle Style

New Theme more bash style retro...
2021-11-24 13:08:13 +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
Hasan Cem Cerit 7627a65c66 fix: add FullName for explicit path 2021-11-23 16:48:43 +01:00
Jan De Dobbeleer c5fb63885f refactor(cache): add correct unit indication 2021-11-23 11:17:37 +01:00
Jan De Dobbeleer ea35416363 fix(palette): create AnsiColors on plain block init 2021-11-22 22:08:21 +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
Jul Guga 0247b329c1 theme: update night-owl
- Added custom title bar
- Changed home & folder icon
- Changed background_template colors in git segment
- Added fetch_stash_count & fetch_worktree_count
- Changed template properties in git segment
- Added shell segment
- Changed style of the right prompt
- Added transient_prompt
2021-11-22 08:48:19 +01:00
Luis Felipe Sánchez accf46420f
theme: add atomic 2021-11-20 21:31:13 +01:00
Jan De Dobbeleer f27868e260
docs: adjust broken link
closes #1259
2021-11-20 13:56:37 +01:00
Alan Fregtman 9bba2bf909
feat(devcontainer): deploy OMP to all shells, 2021-11-20 13:45:51 +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