Commit Graph
100 Commits
Author SHA1 Message Date
Roman Perepelitsa 74ff02a819 work around a bug in zsh 5.4.1 (#1872)
Here's the bug:

  zsh -fc 'print "${#${x}}"'

This code should print "0" but it prints "1" in zsh 5.4.1.
2022-05-20 16:58:51 +02:00
Roman Perepelitsa 657e184e0d disable vscode integration; it doesn't work anyway but it makes shell slower
Context: https://github.com/microsoft/vscode/pull/145610#issuecomment-1076519194
2022-04-04 15:14:55 +02:00
Roman Perepelitsa 65599411ec ignore garbage printed by vscode 2022-03-20 14:58:15 +01:00
Roman Perepelitsa e13283ec7d bug fix: strip escape sequences in instant prompt output less aggressively 2022-03-20 14:57:27 +01:00
Roman Perepelitsa f07d7baea3 minor cleanup around perlbrew 2022-02-28 10:30:39 +01:00
Roman Perepelitsa 73698935b8 Merge branch 'lmburns-perlbrew' 2022-02-28 10:24:10 +01:00
Roman Perepelitsa 123136c0e7 Merge commit 'c0a028351ff9a611c4061938ebd5ec4cafb900eb' 2022-02-14 19:26:12 +01:00
Roman Perepelitsa c0a028351f Squashed 'gitstatus/' changes from f889c13d1..6dc0738c0
6dc0738c0 release v1.5.4
6b3e7cf2f update mbuild script for the new release infra
12b2457ae release v1.5.4

git-subtree-dir: gitstatus
git-subtree-split: 6dc0738c0e5199b0ae47d9693874e7d43c7f8f29
2022-02-14 19:26:12 +01:00
Roman Perepelitsa 5fe28f0a01 bug fix: correctly parse kubectl config when current-context has metacharacters (#1767) 2022-02-14 10:10:38 +01:00
Roman Perepelitsa 4b21cd06ff Squashed 'gitstatus/' changes from b226d8e06..f889c13d1
f889c13d1 build: clean up dragonfly support (#297)
2b6366fbd Merge branch 'msvetlik-dragonflybsd-support'
409c791eb Added detection of DragonflyBSD and tested compilation on v6.2.1

git-subtree-dir: gitstatus
git-subtree-split: f889c13d18fbf6f3109d6889be34d50af04d99b9
2022-02-07 08:38:49 +01:00
Roman Perepelitsa a83e53005f Merge commit '4b21cd06ffeb5706b017c78b13c2eaf40d7deac1' 2022-02-07 08:38:49 +01:00
Roman Perepelitsa 8a676a9157 fix shell integration with kitty 2022-02-01 20:39:00 +01:00
Roman Perepelitsa bee6e09262 Squashed 'gitstatus/' changes from 6eb490ab..b226d8e0
b226d8e0 bug fix: don't crap out when TMPDIR is unset

git-subtree-dir: gitstatus
git-subtree-split: b226d8e060db82ac68f1b00c49d1fc85abdbe56e
2022-01-26 16:04:09 +01:00
Roman Perepelitsa 4f143b7b97 Merge commit 'bee6e09262a6145fc178ddc85c656da4bb83a9a9' 2022-01-26 16:04:09 +01:00
Roman Perepelitsa d6f8c47761 survive broken $TMPDIR 2022-01-26 15:03:22 +01:00
Roman Perepelitsa 5014de0541 Squashed 'gitstatus/' changes from e02d9eed..6eb490ab
6eb490ab survive broken $TMPDIR
94bf4fc2 add ppc64 support to the build script

git-subtree-dir: gitstatus
git-subtree-split: 6eb490ab86118ad063224e4d50b6b05bea7dd12c
2022-01-26 14:45:50 +01:00
Roman Perepelitsa cead0349c5 Merge commit '5014de0541201716dc4ee6f544321ac4e3d7431e' 2022-01-26 14:45:50 +01:00
Roman Perepelitsa 6c71862c5f don't set OS, DEFAULT_COLOR and DEFAULT_COLOR_INVERTED
See #1735.
2022-01-25 14:32:01 +01:00
Roman Perepelitsa 9e0ef918db fix ZeroTier network interface regex
From https://forwardingplane.net/configuration-archive/renaming-interfaces-under-linux/:

> ZeroTier has the inconsistency of using zt* on some platforms and ztublkahlah on others.

They mean zt[0-9]+ and zt[a-z0-9]+.
2022-01-20 12:28:27 +01:00
Roman Perepelitsa 02710eb568 Merge branch 'Mehyar-ALS-patch-1' 2022-01-20 12:26:11 +01:00
Roman Perepelitsa 3d994b033b work around bugs in WSL where it reports more swap being used than the total available (#1724) 2022-01-17 15:35:20 +01:00
Roman Perepelitsa 0f8a77d47d increase the minimum required zsh version from 5.1 to 5.3 (#1722) 2022-01-15 23:00:17 +01:00
Roman Perepelitsa 161f4c1f04 respect VIRTUAL_ENV_PROMPT if its value is different from the default (#1718) 2022-01-14 13:59:05 +01:00
Roman Perepelitsa b8ddcd4c17 docs: clean up font instructions for xterm and copy them to README.md 2022-01-13 10:08:21 +01:00
Roman Perepelitsa c4d3ab0ae0 Merge branch 'pstekl-master' 2022-01-13 10:03:22 +01:00
Roman Perepelitsa fdbde52c20 docs: sort the table of segments 2022-01-11 12:56:27 +01:00
Roman Perepelitsa 6fae3a169b add toolbox segment to the docs (#1713) 2022-01-11 12:55:43 +01:00
Roman Perepelitsa e1c52e08d4 add an icon for amazon linux (#1706) 2022-01-06 12:37:20 +01:00
Roman Perepelitsa 66c0181f76 doc: s/Kitty/kitty/ 2022-01-05 08:37:11 +01:00
Roman Perepelitsa 67ac98d515 doc: kitty v0.24.0 has been released (the first version with shell integration) 2022-01-05 08:36:29 +01:00
Roman Perepelitsa c8160f2954 Squashed 'gitstatus/' changes from f1cf61b24..e02d9eedd
e02d9eedd fix cwd detection when it has weird characters
78c171590 Loongarch support (#290)
be6396b1a fix pkg_add command on openbsd (#282)
f1c89585a avoid ksh if possible (it's broken; see #282)
22407d6fd bug fix: correctly resolve pwd when it contains control chars

git-subtree-dir: gitstatus
git-subtree-split: e02d9eedd9d8f3689e6a6cdccec70b55cf87dca6
2022-01-04 12:14:19 +01:00
Roman Perepelitsa 2079d8ecbe Merge commit 'c8160f29543a2f57ae7149103deefa029fd4e861' 2022-01-04 12:14:19 +01:00
Roman Perepelitsa 3d3b24c419 work around bugs in WSL where it /proc/pid/cwd reports an alias drive 2022-01-04 12:05:05 +01:00
Roman Perepelitsa 7354688123 fix cwd handling when the current dir is '/foo\bar' (#1697) 2022-01-02 15:14:26 +01:00
Roman Perepelitsa dd3dcfaf51 make toolbox segment work with distrobox (#1696) 2022-01-02 07:51:53 +01:00
Roman Perepelitsa ced7788012 docs: fix indentation 2022-01-01 07:54:06 +01:00
Roman Perepelitsa ab321a2a03 docs: clean up puTTY font instructions 2022-01-01 07:52:01 +01:00
Roman Perepelitsa d99df7d12d Merge branch 'ajanian-master' 2022-01-01 07:45:26 +01:00
Roman Perepelitsa ed70c90c2d fix a bug with URL-escaping for directory links (#1687) 2021-12-27 08:15:25 +01:00
Roman Perepelitsa c9bc2f5a32 fix POWERLEVEL9K_TERM_SHELL_INTEGRATION 2021-12-23 10:01:27 +01:00
Roman Perepelitsa 2e58e3888e add POWERLEVEL9K_TERM_SHELL_INTEGRATION parameter that enables OSC 133 marks 2021-12-23 09:52:23 +01:00
Roman Perepelitsa cde05cfa7b add a link to romkatv/zsh-bench#instant-prompt (should really copy some of that content over to p10k; maybe later) 2021-12-23 09:11:45 +01:00
Roman Perepelitsa 00dd4ae009 docs: shrink "getting started" 2021-12-23 08:56:34 +01:00
Roman Perepelitsa 370535af45 explicitly set LC_ALL when starting docker 2021-12-23 08:52:19 +01:00
Roman Perepelitsa da5a4cdbec add high-level table of contents at the top and low-level table of contents in each section; remove the full table of contents from the bottom 2021-12-23 08:52:08 +01:00
Roman Perepelitsa 83f773caae doc: remove most content from "is it fast to load" section 2021-12-23 08:40:12 +01:00
Roman Perepelitsa 356ce68f69 doc: remove most content from "is it really fast" section 2021-12-23 08:35:10 +01:00
Roman Perepelitsa 6692245f3e hide all screen recordings under <details> in the hope that #anchors will work properly 2021-12-23 08:21:26 +01:00
Roman Perepelitsa 09ece9601f grammar in the instant prompt faq 2021-12-23 08:09:47 +01:00
Roman Perepelitsa 608bd2c88b expand instant prompt faq 2021-12-23 08:05:47 +01:00
Roman Perepelitsa 469baa6221 url-escape dir properly when POWERLEVEL9K_DIR_HYPERLINK is set 2021-12-22 12:53:18 +01:00
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 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 3380f7503e Merge commit 'e181bc0653ae15ba5730a65b253d499bf22a31bf' 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