Commit graph

397 commits

Author SHA1 Message Date
memcpy-rand-rand-rand d87b147544 feat(winreg): adjust return logic in enabled 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 a2be3faefe refactor: display themes function in PowerShell 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 337ed4a155 refactor: align POSH_THEME cross shell 2021-11-27 13:39:40 +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 900f5bc672 chore(go): remove unused dependency 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 09df670e07 refactor: use properties as map type 2021-11-26 11:11:07 +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 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
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
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
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
Laurent Nullens a71d1f7454
feat(terraform): use template 2021-11-20 10:14:26 +00:00
lnu 25be370618 feat(sysinfo): sysinfo segment
cpu, mem, load, ...
2021-11-19 13:44:00 +01:00
Jan De Dobbeleer 2c1d5cf6e4 fix(cmd): allow all types of path separators 2021-11-19 08:52:38 +01:00
Jan De Dobbeleer 79c5ad845f feat(cmd): transient prompt 2021-11-19 00:08:17 +01:00
Jan De Dobbeleer 5ddb0d8896 feat(cmd): add tooltip functionality 2021-11-19 00:08:17 +01:00
Ted Ballou bcdfb8180b
feat(git): add symbol to the branch name when truncating 2021-11-18 19:58:57 +01:00
Jan De Dobbeleer 14bd8b0f29 chore: show total duration in debug 2021-11-17 08:29:17 +01:00
Jan De Dobbeleer 4f39b68d96 refactor: remove trace struct 2021-11-17 07:19:43 +01:00
Jan De Dobbeleer e0513e95b0 refactor: provide log output directly on debug 2021-11-17 07:19:43 +01:00
Jan De Dobbeleer 8837c127ed chore: ask debug log for bug report 2021-11-17 07:19:43 +01:00
Jan De Dobbeleer b1b7576a90 chore: show version and log on debug 2021-11-17 07:19:43 +01:00
Jan De Dobbeleer 10d8f5a013 fix: use reference colors in transient prompt 2021-11-16 00:31:06 +01:00
Jan De Dobbeleer 290b1a3d8c fix(envvar): use template for string value 2021-11-15 13:28:53 +01:00
Jan De Dobbeleer 6eb9a2e492 fix(image): remove braille blank before export 2021-11-15 13:12:18 +01:00
Jan De Dobbeleer f850f3b805 feat(exit): add template properties 2021-11-15 11:39:34 +01:00
Jan De Dobbeleer f5aeed466e feat(executiontime): add template properties 2021-11-15 11:39:34 +01:00
Jan De Dobbeleer 2040771190 feat(env): add template properties 2021-11-15 11:39:34 +01:00
Mansur c1bc4404e0
fix: node segment enable_version_mismatch 2021-11-15 10:35:45 +00:00
Jan De Dobbeleer 2a44dca898
fix(cmd): only call supported lua functions 2021-11-13 21:24:52 +01:00
Jan De Dobbeleer b3371136c7 feat(cmd): support Windows CMD 2021-11-13 19:41:42 +01:00
Jan De Dobbeleer 1d192d63d8 feat: render rprompt separately 2021-11-13 19:41:42 +01:00
Laurent Nullens 2733865edf
fix(git): read real worktree folder from gitdir 2021-11-12 07:59:03 +00:00
Jan De Dobbeleer 18a3b82dd1 fix: add stack trace when errors happen in segments
relates to #1182
2021-11-12 08:42:28 +01:00
Jan De Dobbeleer ae9fb25db6 revert: fetch info from the working directory
This reverts commit cb17bb914a.
2021-11-11 08:48:45 +01:00
Jan De Dobbeleer 1866adfb88 fix: feed PWD to cli for init
relates to #1207
2021-11-10 20:45:27 +01:00
Jan De Dobbeleer d3ab141cd5 fix: set active colors in debug 2021-11-10 20:15:28 +01:00