Commit graph

1144 commits

Author SHA1 Message Date
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
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