1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-24 13:10:07 +00:00
Commit graph

4206 commits

Author SHA1 Message Date
Roman Perepelitsa
5e1c1caeb1 doc: spello 2021-07-22 12:01:06 +02:00
Roman Perepelitsa
70ae5810d8 Squashed 'gitstatus/' changes from 0440e38b..1edd9e62
1edd9e62 build: respect standard compiler/linker env vars and fortify by default

git-subtree-dir: gitstatus
git-subtree-split: 1edd9e621ec5c8bf038767e529194b5c53b36352
2021-07-22 11:19:22 +02:00
Roman Perepelitsa
a38a1f5be1 Merge commit '70ae5810d81f941a93e2077a2aa080f341deb96e' 2021-07-22 11:19:22 +02:00
Roman Perepelitsa
83d80fa308 don't leak 'state' local parameter 2021-07-17 10:38:22 +02:00
Roman Perepelitsa
2c135dd631 make terraform_version consistent with other *_version segments (#1487) 2021-07-17 10:36:26 +02:00
Roman Perepelitsa
942c4cf640 Merge branch 'alexganwd-master' 2021-07-17 10:13:48 +02:00
Alejandro Gandara
dae5f7f1c9 * Added cache to terraform --version 2021-07-16 20:39:23 +01:00
Alejandro Gandara
9f98915167 * Added new module for showing in prompt the active terraform version.
* Prompt shows, the terraform version in this format: Terraform v0.12.13 . If only if a valid terraform command is used, or an alias to it.

The use case: We have a need to constantly change between terraform versions depending on what project we are working on, it is easy to by mistake upgrade the wrong project to the latest terraform version. This is why the prompt is shown in red as soon as you type terraform, this is a good way to remind you to double check this is the terraform version you want to use.

Future improvements:
Detect current terraform version by checking the terraform workspace state version, and change the terraform color prompt from red to green if you're using the same version.
2021-07-15 00:44:37 +01:00
Alejandro Gandara
f717a91f55 * Added new module for showing in prompt the active terraform version.
* Prompt shows, the terraform version in this format: Terraform v0.12.13 . If only if a valid terraform command is used, or an alias to it.

The use case: We have a need to constantly change between terraform versions depending on what project we are working on, it is easy to by mistake upgrade the wrong project to the latest terraform version. This is why the prompt is shown in red as soon as you type terraform, this is a good way to remind you to double check this is the terraform version you want to use.

Future improvements:
Detect current terraform version by checking the terraform workspace state version, and change the terraform color prompt from red to green if you're using the same version.
2021-07-14 22:52:22 +01:00
Chris Williams
1e7be00e04
show kubecontext show for 'flux' (#1480)
Support for flux v2 CLI

Co-authored-by: Chris Williams <chris.williams@amwell.com>
2021-07-09 08:46:18 -07:00
Roman Perepelitsa
4bcc519547 add 'minify' make target 2021-07-02 14:39:26 +02:00
Roman Perepelitsa
077abf95e0 Squashed 'gitstatus/' changes from 4b4226ca..0440e38b
0440e38b sort files lexicographically
1c3157e9 don't minify from pkg target

git-subtree-dir: gitstatus
git-subtree-split: 0440e38b336aaf992aabf3649bf4a7f65f396c0a
2021-07-02 14:37:14 +02:00
Roman Perepelitsa
05d71fe82c Merge commit '077abf95e0a3c6325a6cdd9761cab75b2f5468c6' 2021-07-02 14:37:14 +02:00
Roman Perepelitsa
63a009669a Squashed 'gitstatus/' changes from 68bf9e0d..4b4226ca
4b4226ca add 'minify' make target and invoke it from 'pkg'

git-subtree-dir: gitstatus
git-subtree-split: 4b4226ca86fef6d0491ab9e863c9df6864dc9642
2021-07-02 14:28:20 +02:00
Roman Perepelitsa
7f4a2741b5 Merge commit '63a009669a7ed6aa6040f0af008adfb62829188c' 2021-07-02 14:28:20 +02:00
Roman Perepelitsa
7759063b74 Squashed 'gitstatus/' changes from 76182238..68bf9e0d
68bf9e0d build: generate byte-for-byte identical gitstatusd if the compiler supports -ffile-prefix-map
d03e8edc add support for s390x architecture
b32bea51 add a few architectures to the build script
7001409e bash: escape non-printable ANSI sequences (#247)

git-subtree-dir: gitstatus
git-subtree-split: 68bf9e0da3695ae989d523527643bef3f88e86ea
2021-07-02 11:02:41 +02:00
Roman Perepelitsa
f4668bc194 Merge commit '7759063b7485ca0701fc8ba1961d0e53568ddd59' 2021-07-02 11:02:41 +02:00
Roman Perepelitsa
3213e2e17f docs: grammar 2021-07-01 12:05:46 +02:00
Roman Perepelitsa
fd7313a5e7 replace @{u} with @{upstream} in the docs (it's the same thing but clearer) 2021-06-30 18:44:10 +02:00
Roman Perepelitsa
0c862a1307 add zwc make target 2021-06-27 18:49:57 +02:00
Roman Perepelitsa
f1ff680487 Squashed 'gitstatus/' changes from 260a5f4b..76182238
76182238 add zwc make target
ea398d90 update libgit2 ref (https://github.com/romkatv/powerlevel10k/issues/1428)

git-subtree-dir: gitstatus
git-subtree-split: 7618223859f614a76ed8019f1a60ee3df18984cf
2021-06-27 18:48:35 +02:00
Roman Perepelitsa
73eff3a033 Merge commit 'f1ff6804871d47381b9bd398a60f4c77174fd1d3' 2021-06-27 18:48:35 +02:00
Roman Perepelitsa
c003c253e8 respect POWERLEVEL9K_INSTANT_PROMPT_COMMAND_LINES if it is explicitly set even when using z4h 2021-06-24 22:40:23 +02:00
Roman Perepelitsa
515422c727 fix a bug that can cause instant prompt to be duplicated in z4h 2021-06-24 21:42:00 +02:00
Roman Perepelitsa
67f494cf54 docs: cross-link two faq entries 2021-06-17 17:59:17 +02:00
Roman Perepelitsa
606d4a85a9 readme: update git commands for ahead/behind arrows 2021-06-17 15:20:14 +02:00
Roman Perepelitsa
717573d845 presume that node --version may depend on package.json (#1388) 2021-06-11 14:09:52 +02:00
Roman Perepelitsa
a49f90d3ba cleanup 2021-06-11 10:19:09 +02:00
Roman Perepelitsa
4e4c14927f update windows terminal font instructions to accound for the fact that they've changed the default settings.json (#1443) 2021-06-11 10:17:23 +02:00
Roman Perepelitsa
2e0989c018 Merge commit '038de6f78b21171615d0b4628471e71efe10d77e' 2021-06-11 09:23:28 +02:00
Roman Perepelitsa
038de6f78b Squashed 'gitstatus/' changes from 96b520b2..260a5f4b
260a5f4b fix a bug in the build script that prevented it from working when using a newer git with init.defaultBranch override in the global config (#242)

git-subtree-dir: gitstatus
git-subtree-split: 260a5f4bc9776d41d500a51464249ce5e555a99e
2021-06-11 09:23:27 +02:00
Roman Perepelitsa
f5d61840ae Merge commit '96f3ca173331c5dba505d2ef5106cb0d605ec3be' 2021-06-10 10:15:02 +02:00
Roman Perepelitsa
96f3ca1733 Squashed 'gitstatus/' changes from 113f1f69..96b520b2
96b520b2 build v1.5.1 binaries for all platforms
ffeb0507 bump version to v1.5.1
1bcbea07 mbuild: disable pacman upgrades on msys
39dbb92f log a warning if unable to parse packed-refs
a9d70ec0 add `-r` flag to gitstatus_start in bash bindings (#241)
abbf9a79 don't use static_assert with one argument as it's not available prior to c++17 (#239)
f8c396e4 drop all tags if packed-refs doesn't have a header line (https://github.com/romkatv/powerlevel10k/issues/1428)

git-subtree-dir: gitstatus
git-subtree-split: 96b520b248ca872646e27b3df4535898356e4637
2021-06-10 10:15:02 +02:00
Roman Perepelitsa
4ba3c010f6 display "wip" in git status if the latest commit's summary contains "wip" or "WIP" (#1425) 2021-06-08 11:47:19 +02:00
Roman Perepelitsa
b9c62ca028 cleanup 2021-06-04 15:02:36 +02:00
Roman Perepelitsa
ba83466e1d Squashed 'gitstatus/' changes from 6d00edd0..113f1f69
113f1f69 release gitstatusd-linux-x86_64 v1.5.0
e193be52 expose HEAD's commit message
815301f1 do not redefine `exec` and `builtin` in bash bindings (#235)
97c2aa17 Make `--version-glob` to receive an argument (#216)
95e549fd Support building on OpenBSD (#208)
b054ddf2 make homebrew instructions work on systems other than darwin-x86_64 (#205)
98f99ade fix brew formula check

git-subtree-dir: gitstatus
git-subtree-split: 113f1f698667d12906d97e3818aec5d760dc6e3d
2021-05-30 10:35:40 +02:00
Roman Perepelitsa
f217e4a39a Merge commit 'ba83466e1da75d9260ebbb145215d9c46d6eadf6' 2021-05-30 10:35:40 +02:00
Roman Perepelitsa
77fa0e6dcc clarify that Windows Terminal is the one from Microsoft 2021-05-29 08:41:20 +02:00
Mark Adamson
d87d557b0f
Correct name of Windows Terminal in README (#1424) 2021-05-28 23:39:59 -07:00
Roman Perepelitsa
c7ad00b5a5 add P9K_AWS_PROFILE and P9K_AWS_REGION and use it in default configs 2021-05-28 14:55:27 +02:00
Roman Perepelitsa
10918387b3 Merge branch 'alexjurkiewicz-aws-region' 2021-05-28 14:52:29 +02:00
Alex Jurkiewicz
aa4d366341 Add region support for aws element 2021-05-28 14:25:39 +10:00
Zachary Palumbo
35acee119d
Fix icon padding for VCS bookmark icon (#1414) (#1415) 2021-05-26 07:40:05 -07:00
Roman Perepelitsa
c59720647a fix asdf, was broken by 1ad8e5759e (#1409) 2021-05-25 14:01:41 +02:00
Roman Perepelitsa
a3494a52d7 don't leak 'token' local variable in parser (#1407) 2021-05-24 09:19:13 +02:00
Roman Perepelitsa
f774df6c76 pyenv: skip lines that start with "#" (#1376) 2021-05-22 12:19:41 +02:00
Roman Perepelitsa
69d3650958 hide python version in pyenv in lean/classic/rainbow if the rest of the content starts with it (#1376) 2021-05-22 12:09:13 +02:00
Roman Perepelitsa
1ad8e5759e when searching for files in ancestor directories, do match in $HOME (#1376) 2021-05-22 11:57:13 +02:00
Roman Perepelitsa
4d2346da0a set P9K_PYENV_PYTHON_VERSION correctly when dealing with multiple pyenv versions (#1376) 2021-05-22 11:32:24 +02:00
Roman Perepelitsa
0ab7e1ccfd when resolving python --version, handle pyenv shims specially (#1378) 2021-05-22 11:00:19 +02:00