Commit Graph
100 Commits
Author SHA1 Message Date
Roman Perepelitsa 06ed564092 Merge branch 'terraform-show-default' of https://github.com/ancarpan/powerlevel10k into ancarpan-terraform-show-default 2020-07-04 07:44:51 +02:00
Roman Perepelitsa 2d74ac9d06 prefix all source calls with builtin 2020-07-04 07:03:46 +02:00
Roman Perepelitsa 9486385824 Merge commit 'ff8654ccd5b4f22710a235e7f715913277612451' 2020-07-04 07:00:17 +02:00
Roman Perepelitsa ff8654ccd5 Squashed 'gitstatus/' changes from 0f5402c8..89e9ebfd
89e9ebfd survive zsh environments where `source` is a broken function

git-subtree-dir: gitstatus
git-subtree-split: 89e9ebfd59f5ddfea4d97ae1e510273415a57a51
2020-07-04 07:00:17 +02:00
Roman Perepelitsa e0ed693e6d add CMB* to battery directory patterns; see #858 2020-07-02 10:39:35 +02:00
Roman Perepelitsa be66f21f53 replace NETWORK_ICON
The original icon (U+FBF1) is in fact a ligature. Some terminals do
funky things when displaying it. For example:

    print '\uFBF1 42 abc'

When executed in a VTE-based terminal with Nerd Fonts, it'll print this:

    42 X abc

Here X stands for the glyph that Nerd Fonts uses for U+FBF1.
2020-07-02 06:33:12 +02:00
Roman Perepelitsa a88e11f54b disable background transparency in iTerm2 2020-06-28 11:11:27 +02:00
Roman Perepelitsa db6f909958 suppress the expected error message from PlistBuddy 2020-06-28 10:45:46 +02:00
Roman Perepelitsa ae32fd58b3 fix fvm styling that has been broken by the last commit; fixes #645 2020-06-25 11:09:19 +02:00
Roman Perepelitsa 6a1e993a05 make fvm segment work with fvm >= 1.0.0; see #842 2020-06-25 09:03:59 +02:00
Roman Perepelitsa eadfdba707 Squashed 'gitstatus/' changes from 0d23fbd1..0f5402c8
0f5402c8 bug fix: properly propagate switches to gitstatusd

git-subtree-dir: gitstatus
git-subtree-split: 0f5402c8686a593cd21b95ade28a154dd51749bb
2020-06-22 19:18:34 +02:00
Roman Perepelitsa 1be10ebcf7 Merge commit 'eadfdba7073e625562ae02841608ea37a46e0120' 2020-06-22 19:18:34 +02:00
Roman Perepelitsa 8854cb6000 survive files with windows EOL (on linux, yes; people do that); see #827 2020-06-16 19:51:53 +02:00
Roman Perepelitsa eda706c8ff notes 2020-06-15 17:56:32 +02:00
Roman Perepelitsa 54bbe0a0a3 speed up pasting in terminals without bracketed paste 2020-06-15 17:33:35 +02:00
Roman Perepelitsa 0717e57ff4 Squashed 'gitstatus/' changes from 1c74c8db..0d23fbd1
0d23fbd1 comments
9c19c9c4 fix a typo in install that prevents the locally built gitstatusd from being used
92fd143f doc cleanup

git-subtree-dir: gitstatus
git-subtree-split: 0d23fbd117ad6afe52fdbd96d08cf38f941be4d3
2020-06-14 10:29:29 +02:00
Roman Perepelitsa 5e5d3f5aff Merge commit '0717e57ff46201ff04e7d62cda8677e174a83be6' 2020-06-14 10:29:29 +02:00
Roman Perepelitsa 4c15d633dd respect POWERLEVEL9K_PROMPT_CHAR_ERROR_VIINS_CONTENT_EXPANSION in simple transient prompt; see #820 2020-06-14 09:21:28 +02:00
Roman Perepelitsa 3e17260622 no need to call zle -R when using z4h 2020-06-13 17:04:31 +02:00
Roman Perepelitsa b015817892 Squashed 'gitstatus/' changes from 38d62a47..1c74c8db
1c74c8db add linux-ppc64le
968779b5 fix tar invocation
300f657c create anonymous tar archives
a5581d18 force C locale during build (perl complains)
2616cd47 support downloads to usrbin
1e6075dd enable static linking on linux
2975d25f update libgit2 ref
bea6f868 add ppc64le target

git-subtree-dir: gitstatus
git-subtree-split: 1c74c8db0f422aa6f95ced878351e0c6944a9bd6
2020-06-13 11:15:44 +02:00
Roman Perepelitsa 4d14f9e0ba Merge commit 'b0158178925484c058e6175e174b639237532c63' 2020-06-13 11:15:44 +02:00
Roman Perepelitsa faa510d54c explicitly mention that POWERLEVEL9K_ASDF_${TOOL}_FOREGROUND overrides POWERLEVEL9K_ASDF_FOREGROUND; see #817 2020-06-12 13:00:03 +02:00
Roman Perepelitsa a43b1b34d8 add an icon and asdf colors for julia; see #817 2020-06-12 12:55:02 +02:00
Roman Perepelitsa e2196ce32e match terminal escape sequences in instant prompt output more aggressively 2020-06-12 08:30:03 +02:00
Roman Perepelitsa 05eaf8162c tweak omz update pattern; maybe it'll help with #729 2020-06-11 15:29:47 +02:00
Roman Perepelitsa fb5a0a6cca make error message about incorrect powerlevel10k loading visible in more cases 2020-06-11 11:06:02 +02:00
Roman Perepelitsa fa2e337cbd Squashed 'gitstatus/' changes from 3050dfca8..38d62a475
38d62a475 fix gitstatus on older zsh versions

git-subtree-dir: gitstatus
git-subtree-split: 38d62a475fadf5f8d418fc772d680ba234ba8609
2020-06-10 07:57:51 +02:00
Roman Perepelitsa b7d90c8467 Merge commit 'fa2e337cbdd88ccd297d25fa9847225211801d3e' 2020-06-10 07:57:51 +02:00
Roman Perepelitsa e3f582f246 survive people explicitly disabling conda prompt and then expecting to see it 2020-06-09 21:33:10 +02:00
Roman Perepelitsa c6e599ddd5 fix a typo in remote-git-url => icon conversion (bitbucket was shows as github); see #808 2020-06-09 20:25:55 +02:00
Roman Perepelitsa a700031279 don't start gitstatusd from instant prompt if there is no git command 2020-06-09 13:49:03 +02:00
Roman Perepelitsa a3c1b7164b Squashed 'gitstatus/' changes from 830aaa999..3050dfca8
3050dfca8 add `command` in front of commands

git-subtree-dir: gitstatus
git-subtree-split: 3050dfca875a8070aaa0dc890afcc756574078c6
2020-06-09 13:26:38 +02:00
Roman Perepelitsa 00cf3b1167 Merge commit 'a3c1b7164be115f097682088c6feac283c40a1f2' 2020-06-09 13:26:38 +02:00
Roman Perepelitsa d75147503e remove git from POWERLEVEL9K_VCS_BACKENDS if there is no git command 2020-06-09 13:08:12 +02:00
Roman Perepelitsa 6e120b9eec don't initialize vcs if there is no git command 2020-06-09 12:58:48 +02:00
Roman Perepelitsa b93f9663c5 Squashed 'gitstatus/' changes from ec9c39499..830aaa999
830aaa999 try wget without --no-config if it fails with

git-subtree-dir: gitstatus
git-subtree-split: 830aaa99976c0f5addedf336414f9bf82e2699d6
2020-06-08 10:52:47 +02:00
Roman Perepelitsa bf88ce9120 Merge commit 'b93f9663c5e4e9d914c4389fc405bc7ec7382b57' 2020-06-08 10:52:47 +02:00
Roman Perepelitsa 54c9822834 Squashed 'gitstatus/' changes from 643091154..ec9c39499
ec9c39499 don't download gitstatusd if there is a bad version in usrbin

git-subtree-dir: gitstatus
git-subtree-split: ec9c39499a96ea8b181db15c76df5089959d3111
2020-06-08 09:41:59 +02:00
Roman Perepelitsa ed9d5a7088 Merge commit '54c98228342043612ea83eaaf13ac13659c26295' 2020-06-08 09:41:59 +02:00
Roman Perepelitsa 05dad31f3f add uninstall instructions for arch linux 2020-06-06 18:39:43 +02:00
Roman Perepelitsa b2be33d556 fix formatting 2020-06-06 18:36:52 +02:00
Roman Perepelitsa 04656da7c1 add install and update instructions for arch linux 2020-06-06 18:31:48 +02:00
Roman Perepelitsa 50dec9f9f5 default to POWERLEVEL9K_MODE=ascii if there is no UTF-8 locale 2020-06-06 09:16:26 +02:00
Roman Perepelitsa 7760aa66d7 don't unset POWERLEVEL9K_GITSTATUS_DIR in config templates 2020-06-03 18:30:40 +02:00
Roman Perepelitsa 9fd719c834 Squashed 'gitstatus/' changes from a827370d7..643091154
643091154 suppress rc files for curl and wget; see #146

git-subtree-dir: gitstatus
git-subtree-split: 6430911548516bd9bb0e4a5088993302d45cc499
2020-06-03 09:56:40 +02:00
Roman Perepelitsa 2ba6182373 Merge commit '9fd719c834910c9734b0def927cc079654943a8d' 2020-06-03 09:56:40 +02:00
Roman Perepelitsa f82d0de0d3 remove spurious error messages from _p9k_worker_stop 2020-06-03 09:22:15 +02:00
Roman Perepelitsa 2b1d0e599c make todo segment work if todo-cli is installed from apt; see #785 2020-06-02 10:30:35 +02:00
Roman Perepelitsa 62c0a12a10 Squashed 'gitstatus/' changes from ab1aea155..a827370d7
a827370d7 suppress error message from redirect

git-subtree-dir: gitstatus
git-subtree-split: a827370d7f11f6e6aac4a044efaef6a99ab1f1f4
2020-06-01 16:30:50 +02:00
Roman Perepelitsa 537c2b04e1 Merge commit '62c0a12a10518607814fa661905b3c8ec0f16590' 2020-06-01 16:30:50 +02:00
Roman Perepelitsa 55a9f366a8 typo in docs 2020-06-01 07:32:48 +02:00
Roman Perepelitsa 801bfbb294 jump straight to ascii if TERM is "dump" or "linux" 2020-05-31 11:49:03 +02:00
Roman Perepelitsa 285bf7ba60 ignore POWERLEVEL9K_GITSTATUS_DIR when deciding whether to auto-trigger the wizard 2020-05-31 11:45:21 +02:00
Roman Perepelitsa 189ecf8e16 remove traling ")" from conda even if it is not followed by space 2020-05-30 18:48:03 +02:00
Roman Perepelitsa 094d1b3a47 Squashed 'gitstatus/' changes from 45489634e..ab1aea155
ab1aea155 remove "this command failed" message; it makes users to post truncated messages that are useless for debugging

git-subtree-dir: gitstatus
git-subtree-split: ab1aea155f051ecab8b70154f136eef81976dd25
2020-05-30 12:58:18 +02:00
Roman Perepelitsa 127737816a Merge commit '094d1b3a47cf40746807820cababab3a829ac334' 2020-05-30 12:58:18 +02:00
Roman Perepelitsa a4a71cff9e speed up pasting in terminals without bracketed paste; see #568 2020-05-29 14:43:43 +02:00
Roman Perepelitsa a3d887cd43 add __p9k_root_dir and GITSTATUS_AUTO_INSTALL to param_pat 2020-05-29 09:25:40 +02:00
romkatv f3fb34dd99 more conservative instant prompt activation and cleanup on premature shell exit; see #770 2020-05-28 08:58:53 +02:00
romkatv d8d6efc4ec add more details to uninstall instructions 2020-05-27 07:41:54 +02:00
romkatv c9e3cfe5db add rm -f ~/.p10k.zsh to uninistall instructions 2020-05-27 07:37:19 +02:00
romkatv 937204640a add uninistall instructions 2020-05-27 07:35:31 +02:00
romkatv 86d980cdb5 Squashed 'gitstatus/' changes from be42ea1be..45489634e
45489634e check for cygwin via OSTYPE

git-subtree-dir: gitstatus
git-subtree-split: 45489634e1b9a2a11fc8dc94482516142d61a9c8
2020-05-26 21:50:05 +02:00
romkatv b38a7bf4af Merge commit '86d980cdb5d8eed683322f61db7c22c02640dd67' 2020-05-26 21:50:05 +02:00
romkatv 102aefadab Squashed 'gitstatus/' changes from 331e9ff65..be42ea1be
be42ea1be support split gitstatusd release binaries

git-subtree-dir: gitstatus
git-subtree-split: be42ea1be4a7938464aea568d719bf4c01e4b1f4
2020-05-26 20:51:58 +02:00
romkatv ee68d4db4b Merge commit '102aefadaba271a48a74f13953dd88067f9862c6' 2020-05-26 20:51:58 +02:00
romkatv b3875f5193 avoid spurious error (even if harmless and invisible) on worker cleanup 2020-05-26 20:15:53 +02:00
romkatv ad18cd78db call taskwarrior via command task 2020-05-26 13:47:34 +02:00
romkatv 4cd2700a85 bug fix: update taskwarrior when a pending task becomes overdue; see #763 2020-05-26 13:45:56 +02:00
romkatv 7d35c7ebb8 remove execute permission from wizard.zsh 2020-05-26 11:31:11 +02:00
romkatv 6696212dde Squashed 'gitstatus/' changes from cc956ca78..331e9ff65
331e9ff65 docs: remove packaging instructions and instead discourage it
c1fff558c install: add a link to #compiling docs if no gitstatusd is found
8632b85ab build: use extra optimization and hardening flags
c0a71c757 mbuild: don't stop on first failure
52e0359ec build: don't link statically when doing a local linux build

git-subtree-dir: gitstatus
git-subtree-split: 331e9ff65df96e7423c0b7a01e5e98d6c6b7d428
2020-05-26 11:14:53 +02:00
romkatv 90df734bf8 Merge commit '6696212ddecbb5ffae8d71467518cc5651c90b3f' 2020-05-26 11:14:53 +02:00
romkatv ba6c79e277 docs: remove packaging instructions and instead discourage it 2020-05-26 11:14:33 +02:00
romkatv 9a4bbcd930 Squashed 'gitstatus/' changes from 0127fd26a..cc956ca78
cc956ca78 interrupt p10k instant prompt before printing "gitstatus failed to initialize" error
db3603bc8 improve "gitstatus failed to initialize" error message
e164594ea work around bugs in cygwin
55af96ade cleanup + todo
0e70dbc56 add an empty line before the error message

git-subtree-dir: gitstatus
git-subtree-split: cc956ca7878ef6d00bb1f35861864d0a40ffac75
2020-05-26 08:37:25 +02:00
romkatv 619ddaf6f1 Merge commit '9a4bbcd930afa54bc605e3020fb38353161e5a84' 2020-05-26 08:37:25 +02:00
romkatv 2ade5d786b disable instant prompt when gitstatus fails to initialize 2020-05-26 08:37:05 +02:00
romkatv ed3287b737 Revert "mention that arch linux packages for powerlevel10k are broken and should not be used"
This reverts commit 6b69030bfb.
2020-05-25 17:07:41 +02:00
romkatv 5e9a4eb072 asdf: filter multiple versions the same way as upstream; see #764 2020-05-25 12:18:02 +02:00
romkatv 644488afcc change the default anaconda format in config templates
Also document how to configure it.

See #762.
2020-05-25 07:31:19 +02:00
romkatv 45eeb08fc3 add P9K_ANACONDA_PYTHON_VERSION 2020-05-25 07:26:52 +02:00
romkatv a963533cbd mention that powerlevel10k once again can be installed from AUR 2020-05-24 13:08:05 +02:00
romkatv be83ec430c replace Ⅴ (roman numeral 5) with V (ascii); see #754 2020-05-23 14:20:37 +02:00
romkatv 6b69030bfb mention that arch linux packages for powerlevel10k are broken and should not be used 2020-05-22 21:36:40 +02:00
romkatv ee44f9e112 Squashed 'gitstatus/' changes from 063ed450..0127fd26
0127fd26 set user.name in the test git repo
00564e95 Merge pull request #135 from Aloxaf/Aloxaf-patch-1
6003278c build: no gpg sign

git-subtree-dir: gitstatus
git-subtree-split: 0127fd26a0d102cc5d5b2b10e511fa99138d78e3
2020-05-22 08:44:25 +02:00
romkatv 936b0d6dea Merge commit 'ee44f9e112a71ef6fa5aacdf65a43862a5a89279' 2020-05-22 08:44:25 +02:00
romkatv c713ded9e7 set P9K_TTY=old in preexec 2020-05-20 12:05:11 +02:00
romkatv 499de79a2b remove instant prompt if it corresponds to a different config 2020-05-20 12:04:49 +02:00
romkatv 8cfe934f15 Squashed 'gitstatus/' changes from 78a2ec25..063ed450
063ed450 Revert "close p10k instant prompt descriptors in daemon"

git-subtree-dir: gitstatus
git-subtree-split: 063ed45083386c98ab4d10f08794bec2a0c534d1
2020-05-20 07:07:00 +02:00
romkatv fb0dc597fa Merge commit '8cfe934f157a69976f55a796b65d4ed0a0344719' 2020-05-20 07:07:00 +02:00
romkatv 519de2c569 Revert "close instant prompt descriptors in worker"
This reverts commit 646a826440.
2020-05-20 07:06:38 +02:00
romkatv 8e86b0c8d4 don't hide empty line when invoking zsh immediately after clear 2020-05-19 20:25:29 +02:00
romkatv 00cfdb48a8 Squashed 'gitstatus/' changes from c99d28aa..78a2ec25
78a2ec25 close p10k instant prompt descriptors in daemon

git-subtree-dir: gitstatus
git-subtree-split: 78a2ec251e99ffa48ea10bbb48ab54ba6401701c
2020-05-19 20:20:39 +02:00
romkatv 072fc38ebe Merge commit '00cfdb48a8c74150814792e4deccff2a1ce91ad0' 2020-05-19 20:20:39 +02:00
romkatv 646a826440 close instant prompt descriptors in worker 2020-05-19 20:20:21 +02:00
romkatv fb9bc2d3f5 Merge branch 'master' of github.com:romkatv/powerlevel10k 2020-05-19 10:33:03 +02:00
romkatv f3ae4032c1 Squashed 'gitstatus/' changes from 4c1b9564..c99d28aa
c99d28aa block SIGINT in zle callback when being used from p10k
f52fd5b5 wrap most of gitstatus_start code in `{..} always {...}` to handle SIGINT properly
e4e88a5a mention that gitstatus can be cloned from gitee.com

git-subtree-dir: gitstatus
git-subtree-split: c99d28aa6be9db6f78c99c3f56626f2afcc3a466
2020-05-19 10:25:42 +02:00
romkatv 1e2a0cc34a Merge commit 'f3ae4032c1923404afc9fd8b6af2bf28bc406d61' 2020-05-19 10:25:42 +02:00
romkatv e3beeea0ae block SIGINT in nested p10k calls; allow SIGINT in gitstatus_start 2020-05-19 10:10:43 +02:00
romkatv c0ff47bea5 don't print instant prompt warning when omz update fails 2020-05-19 09:00:42 +02:00
romkatv be5c067125 bug fix: vcs and vpn_ip weren't respecting hide/show state 2020-05-19 08:31:00 +02:00