Commit graph

3335 commits

Author SHA1 Message Date
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
Jan De Dobbeleer e526491ae5
fix(pwsh): temporarily drop support for 5 2021-11-29 19:09:31 +01:00
memcpy-rand-rand-rand d87b147544 feat(winreg): adjust return logic in enabled 2021-11-29 16:22:03 +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 274ec4ad12 feat(winreg): fix squash merge 2021-11-29 16:22:03 +01:00
will 18570c9cd0 feat(winreg): squashed commits 2021-11-29 16:22:03 +01:00
Jan De Dobbeleer e3b6dbe91e
fix: add release changelog 2021-11-28 19:48:56 +01:00
julesrx 23cbc17f99
docs: instructions for manual install on Linux 2021-11-28 19:36:17 +01:00
Jan De Dobbeleer 39674b469e
fix(pwsh): use correct package path 2021-11-28 19:23:04 +01:00
Jan De Dobbeleer 603c4da30b fix(pwsh): publish module without irrelevant files 2021-11-28 19:08:21 +01:00
Jan De Dobbeleer 64a9e65e74 docs(windows): simplify installation guide 2021-11-28 15:24:48 +01:00
Jan De Dobbeleer a2be3faefe refactor: display themes function in PowerShell 2021-11-28 15:24:48 +01:00
Jan De Dobbeleer 8c0d33cf13 feat(pwsh): sync themes un update/install 2021-11-28 15:24:48 +01:00
Jan De Dobbeleer 50ee821688 chore(pwsh): print version on install 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
Jan De Dobbeleer 0ee320491d chore: add commit info to regular build 2021-11-27 13:39:40 +01:00
Jan De Dobbeleer 337ed4a155 refactor: align POSH_THEME cross shell 2021-11-27 13:39:40 +01:00
Jan De Dobbeleer 5730451965 chore: build on multiline commit message 2021-11-27 13:39:40 +01:00
John Lunn 06e1b3ab8b theme: add festivetech
this theme is a bit special and needs the following in your
PowerShell profile to work correctly:

function Set-EnvVars {
    $now = [DateTime]::Now
    $env:DAYS = ([Datetime](“12/25/” + $now.Year) – $Now).Days
}
New-Alias -Name 'Set-PoshContext' -Value 'Set-EnvVars' -Scope Global -Force

happy holidays!
2021-11-26 23:43:54 +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
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