Commit Graph
100 Commits
Author SHA1 Message Date
Roman Perepelitsa 57d0274b88 fix bugs in dir and several other segments when cwd contains control characters 2021-12-22 11:24:46 +01:00
Roman Perepelitsa 2e8a8f1d63 fix a bug that causes VISUAL_IDENTIFIER_COLOR to leak into content 2021-12-21 09:33:52 +01:00
Roman Perepelitsa a23c4314a1 doc: update "horrific mess when resizing terminal window" section
- Don't say it's a bug in Zsh. It's more complicated than that.
- Mention that the the issue can be avoided by using Kitty.
- Do not mention that the issue can also be avoided by using
  zsh4humans (even though it's true). If you, dear reader, see this,
  give zsh4humans a try.
2021-12-17 19:01:44 +01:00
Roman Perepelitsa 4543076483 when using tmux, write unwrapped OSC 133 in addition to wrapped; the new integrated tmux uses them when resizing 2021-12-17 17:10:52 +01:00
Roman Perepelitsa 3091ffbd86 bust caches 2021-12-10 23:38:24 +01:00
Roman Perepelitsa fde8bf62d4 fix prefix-based formatting of numbers that are slightly below the boundary (#1664) 2021-12-10 23:34:10 +01:00
Roman Perepelitsa abc5df446d attempt to fix asdf when some files have windows line endings (#1653) 2021-12-08 12:12:15 +01:00
Roman Perepelitsa 3380f7503e Merge commit 'e181bc0653ae15ba5730a65b253d499bf22a31bf' 2021-12-05 09:28:30 +01:00
Roman Perepelitsa e181bc0653 Squashed 'gitstatus/' changes from e26996460..f1cf61b24
f1cf61b24 work around a bug in IP-guard

git-subtree-dir: gitstatus
git-subtree-split: f1cf61b241a2a34514a8ff5f71dfb79a99d85c7c
2021-12-05 09:28:30 +01:00
Roman Perepelitsa a9f208c8fc don't auto-start configuration wizard if it's likely that zshrc is broken
This change is an attempt to automate this:
https://github.com/romkatv/powerlevel10k#configuration-wizard-runs-automatically-every-time-zsh-is-started
2021-11-15 07:26:51 +01:00
Roman Perepelitsa e2447322e0 Squashed 'gitstatus/' changes from eaf430112..e26996460
e26996460 survive broken shasum
b1825b29a make bash bindings work with nounset

git-subtree-dir: gitstatus
git-subtree-split: e269964607042ef0fdbda2d7af74ef9c8f618cf4
2021-11-02 07:23:57 +01:00
Roman Perepelitsa d281e595b3 Merge commit 'e2447322e0be4eddb84196f05952f91fa3c6f37e' 2021-11-02 07:23:57 +01:00
Roman Perepelitsa a55955c5cf enable bracketed paste when printing instant prompt 2021-10-28 10:47:14 +02:00
Roman Perepelitsa dce00cdb5d docs: typo 2021-10-28 07:19:53 +02:00
Roman Perepelitsa 85e31542dd wizard: underline paths instead of bolding in the success message 2021-10-27 16:31:33 +02:00
Roman Perepelitsa 99edd12e00 grammar 2021-10-27 10:53:59 +02:00
Roman Perepelitsa faddef4a22 add faq entries about enabling direnv and exporting GPG_TTY (#702) 2021-10-27 10:52:59 +02:00
Roman Perepelitsa b4615f5e00 add _p9k__raw_msg for direnv notifications in zsh4humans 2021-10-27 09:55:43 +02:00
Roman Perepelitsa ed0bd29416 Merge commit '1af638543631f2e7db64829c7412ed007047fa81' 2021-10-20 14:05:34 +02:00
Roman Perepelitsa 1af6385436 Squashed 'gitstatus/' changes from cd98a3c2..eaf43011
eaf43011 when downloading gitstatusd, try curl/wget with user configs before trying without (https://github.com/romkatv/powerlevel10k/issues/1606)

git-subtree-dir: gitstatus
git-subtree-split: eaf43011246e359881931647747e8756a73a143a
2021-10-20 14:05:33 +02:00
Roman Perepelitsa 6441a01dd3 survive non-writable $TTY 2021-10-14 14:38:27 +02:00
Roman Perepelitsa edd98053cc disable icanon on the tty after printing instant prompt; this way keys like Ctrl-R and Ctrl-D will get through to zle 2021-10-10 10:34:54 +02:00
Roman Perepelitsa 5acedce0b0 speed up pre-redraw hook 2021-10-08 12:39:30 +02:00
Roman Perepelitsa 3e515a75d2 remove obsolete nordvpn comments 2021-10-06 13:04:28 +02:00
Roman Perepelitsa ed45177e19 fix nordvpn; it was broken by the latest upstream update (#1590) 2021-10-06 12:51:19 +02:00
Roman Perepelitsa 7a72acf563 clean up font instructions for yakuake 2021-09-14 10:18:27 +02:00
Roman Perepelitsa fcfeebfb53 Merge branch 'ilsteiner-patch-1' 2021-09-14 10:13:02 +02:00
Roman Perepelitsa 543e2d59cf change formatting in the font installation instructions to make it more obvious where each step begins and ends 2021-09-13 10:31:34 +02:00
Roman Perepelitsa 0745592886 fix a spello in comments in the generated .p10k.zsh 2021-09-13 09:05:43 +02:00
Roman Perepelitsa 20eb8c64bf Squashed 'gitstatus/' changes from edd92f621..cd98a3c28
cd98a3c28 rebuild gitstatusd-freebsd-amd64 on freebsd 13
b03580cb0 rebuild gitstatusd-freebsd-amd64 (now with proper version)
3c95a47dc update version to v1.5.3
e3a3cd122 rebuild gitstatusd-freebsd-amd64 with clang (#262)
6aed2ae95 compile with clang on freebsd by default (#262)

git-subtree-dir: gitstatus
git-subtree-split: cd98a3c2849600982aa1b7d03f66784710106291
2021-09-12 10:40:43 +02:00
Roman Perepelitsa d2f78d4b29 Merge commit '20eb8c64bf2520e20739610acb503c8729867a5e' 2021-09-12 10:40:43 +02:00
Roman Perepelitsa 4f3d2ffe72 new prompt segment: toolbox (https://github.com/containers/toolbox) #1560 2021-09-10 13:21:31 +02:00
Roman Perepelitsa c5c9178341 update a link to visual-studio-code-font-settings.jpg (now with annotations) 2021-09-03 10:27:01 +02:00
Roman Perepelitsa c2c3171927 extra verbose instructions for vscode font changes 2021-09-03 10:10:11 +02:00
Roman Perepelitsa b5f4d27c74 add a screenshot of vscode font settings 2021-09-03 09:42:31 +02:00
Roman Perepelitsa 2c7241c43d add an extra step to the uninstallation instructions to delete cache files (#1561) 2021-09-02 13:47:29 +02:00
Roman Perepelitsa b3b0efb69f work around bugs in terminals and window managers by essentially disabling prompt_sp (but keeping prompt_cr) in instant prompt for new TTYs 2021-08-28 10:14:37 +02:00
Roman Perepelitsa 10ad57cc6b Squashed 'gitstatus/' changes from 2ecd9907..edd92f62
edd92f62 build: more debug info in case wget fails
1cfcb46c build: add a workaround for systems with broken wget

git-subtree-dir: gitstatus
git-subtree-split: edd92f6210afb16411274e1d6060c6a68bd1e999
2021-08-23 10:30:28 +02:00
Roman Perepelitsa e362b69735 Merge commit '10ad57cc6b73b9ed51474edbd5235e6b5f2fd16b' 2021-08-23 10:30:28 +02:00
Roman Perepelitsa 0a1946b965 bug fix: display the intended battery icon when using legacy configs (#1530) 2021-08-21 10:08:59 +02:00
Roman Perepelitsa 80ec734a95 Squashed 'gitstatus/' changes from 845f492f..2ecd9907
2ecd9907 add logging to debug https://github.com/romkatv/powerlevel10k/issues/1477
74010456 add a TODO to fix #254
864f1caf Trim '\w' part of bash prompt. (#253)

git-subtree-dir: gitstatus
git-subtree-split: 2ecd990706255d2000fedbde3b2d2353f63d69a1
2021-08-18 17:05:04 +02:00
Roman Perepelitsa ec44300155 Merge commit '80ec734a953d930838ea6839923c97c3da880a0d' 2021-08-18 17:05:04 +02:00
Roman Perepelitsa 25e5f5985f spello 2021-08-17 19:42:05 +02:00
Roman Perepelitsa 5669c12c66 Revert "add availability to display or not Terraform version"
This reverts commit 20b87731de.
2021-08-17 19:41:29 +02:00
Roman Perepelitsa e7629449c6 spello 2021-08-17 19:41:15 +02:00
Roman Perepelitsa ce7d4a4cd3 Merge branch 'ptavares-master' 2021-08-17 19:38:35 +02:00
Roman Perepelitsa 799c22f63b Squashed 'gitstatus/' changes from 1edd9e62..845f492f
845f492f build: target march armv8-a instead of armv8
cf21109b build: respect CXX environment variable

git-subtree-dir: gitstatus
git-subtree-split: 845f492f777af84e50b9a4820c7b08729c841f0c
2021-07-25 09:31:56 +02:00
Roman Perepelitsa 8f798f986a Merge commit '799c22f63b93e9d1ab8f01473bf9ebd2e9750f43' 2021-07-25 09:31:56 +02:00
Roman Perepelitsa e3c8529052 doc: typo 2021-07-23 09:09:40 +02:00
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
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
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
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
Roman Perepelitsa f924646194 add P9K_IP_{RX,TX}_BYTES_DELTA to the list of parameters available within POWERLEVEL9K_IP_CONTENT_EXPANSION (#1392) 2021-05-14 11:41:56 +02:00
Roman Perepelitsa 8d1daa4e63 disable colors in the output of taskwarrior; this time for real (#1365) 2021-04-20 22:19:51 +02:00
Roman Perepelitsa b69bb45ab1 disable colors in the output of taskwarrior (#1365) 2021-04-20 20:53:58 +02:00
Roman Perepelitsa 48ff2e8065 fix style in font instructions 2021-04-18 08:54:54 +02:00
Roman Perepelitsa 607befe822 bump version (#1361) 2021-04-16 22:07:08 +02:00
Roman Perepelitsa cd865da150 expand c-escapes in kubectl (#1361) 2021-04-16 21:42:41 +02:00
Roman Perepelitsa b55ad16bdf bug fix: segments whose state contains numbers could not be hidden (#1353) 2021-04-12 12:22:19 +02:00
Roman Perepelitsa 30bd9461b3 replace POWERLEVEL9K_LOAD_THRESHOLD with POWERLEVEL9K_LOAD_{WARNING,CRITICAL}_PCT (#1340) 2021-04-10 14:27:09 +02:00