1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-27 09:01:58 +00:00
Commit graph

256 commits

Author SHA1 Message Date
romkatv
8bc9b78825 ignore COLUMNS in _p9k_prompt_length 2019-06-09 10:53:10 +02:00
romkatv
4e3ec4850c new feature: ruler above the prompt; to enable: POWERLEVEL9K_SHOW_RULER=true 2019-05-28 15:16:27 +02:00
romkatv
a405d8af70 optimize _p9k_g_expand a little 2019-05-27 19:11:09 +02:00
romkatv
784dc059cd add _p9k_prompt_length 2019-05-27 12:45:01 +02:00
romkatv
6539b1cb38 fix a typo 2019-05-23 00:02:51 +02:00
romkatv
88963159fd speed up ip, vpn_ip and public_ip prompts 2019-05-23 00:00:12 +02:00
romkatv
b92d510882 speed up ram and swap prompts 2019-05-22 19:14:57 +02:00
romkatv
3c5b52750e append POWERLEVEL9K_SHORTEN_DELIMITER when shortening with truncate_to_unique; use * as default in this case 2019-05-19 12:46:28 +02:00
romkatv
7cfe479c87 support dynamic directories in dir prompt and fix a dozen bugs 2019-05-18 23:50:06 +02:00
romkatv
f5c2bf1669 force icon initialization if print_icon is called manually 2019-05-08 23:45:52 +02:00
romkatv
361eec6f95 replace all -v checks with equivalents (trying to port to zsh 5.2) 2019-04-30 12:51:34 +02:00
romkatv
0e0132e8fa protect set_default from user-defined options 2019-04-22 17:06:41 +02:00
Ming Aldrich-Gan
91b2526c02 Add LINUX_RASPBIAN_ICON (Raspberry Pi icon) as an OS_ICON candidate 2019-04-05 11:35:01 -04:00
Sam Miller
2801642436 Add VCS_LOADING_ICON to the icons map 2019-04-01 18:14:52 -07:00
romkatv
5bd80d88f1 check for joined segments when figuring out whether vcs is enabled; fixes #41 2019-03-26 15:29:31 +01:00
romkatv
85e9f4955b expand string parameters with (g::) where appropriate 2019-03-18 17:24:56 +01:00
romkatv
2d877f95fd fix POWERLEVEL9K_SHORTEN_DELIMITER 2019-03-14 08:23:19 +01:00
romkatv
5ee0054298 don't read configuration options until the first precmd; plus massive refactoring and cleanup 2019-03-13 17:04:27 +01:00
Dominik Ritter
613b798bb3
Merge pull request #1126 from Shini31/master
Use ip command for VPN segment - fix #1125
2019-02-26 00:07:51 +01:00
Dominik Ritter
1049bca473 Strip all newlines from ifconfig output 2019-02-22 18:16:33 +01:00
Dominik Ritter
fef639eb48 Fix regex 2019-02-22 18:16:15 +01:00
Dominik Ritter
1ab6a32c4b Interface States can be unsorted 2019-02-21 18:37:35 +01:00
🐈
d1fbc1b889
Hide errors from git ls-files 2019-02-06 11:51:41 +02:00
Dominik Ritter
9f9bc62dc9 Avoid loopback interfaces and parse IPv4 on OSX 2019-02-06 08:53:46 +01:00
Dominik Ritter
a00cb84da4 Fix regular expression and test 2019-02-04 15:40:31 +01:00
Dominik Ritter
06151eeba9 Merge remote-tracking branch 'ben/master' into HEAD 2019-02-03 19:52:29 +01:00
Dominik Ritter
40e04e053c Parse IPs properly
This is done if we want to show a public IP, internal IP, or a VPN.
In the VPN case, what we actually want is to display an indicator
that a VPN is active, instead of the VPN IP itself. We parse the
IP here anyway, because we want to save some specific code there.
2019-02-03 19:20:14 +01:00
Dominik Ritter
6ccdfdf37e
Merge pull request #981 from pgierz/os_release_fix
[Bugfix] Fix for #974
2019-01-23 23:52:37 +01:00
Dominik Ritter
938b0d49a1 Avoid externals when parsing the os release on linux 2019-01-23 23:11:01 +01:00
Matthew Judy
574ee6dc1c Port #1071 to master (fatal errors emitted by untracked file check in vcs.zsh) 2018-11-17 17:13:25 -05:00
Dominik Ritter
724781e896
Merge pull request #1065 from dritter/protect_locale
Protect locale
2018-11-17 01:39:38 +01:00
Dominik Ritter
fd660f4b92 Fix checking for untracked files
Now the untracked files are always checked from
the root folder of the repo.
2018-11-12 00:24:29 +01:00
Dominik Ritter
a6e60def4b Fix stashes display
Changing directories while checking for untracked files broke
the display of git stashes. The hook was not called any more.
This is why we disabled checking for untracked files within a
.git folder.
2018-11-12 00:15:52 +01:00
Dominik Ritter
645b974677 Fix error if user cds into a .git directory
In this case is was previously not possible to get the untracked
status. Now we temporarily change the directory to the repo root
folder and then get the list of untracked files.
2018-11-12 00:13:35 +01:00
Dominik Ritter
a90258a9ee Avoid warning when inside of .git dir
We cannot detect untracked files when we are inside of
a .git directory.
2018-11-11 23:17:33 +01:00
Dominik Ritter
3256258ebf Count stashes via ZSH 2018-11-11 23:16:44 +01:00
Dominik Ritter
2038e2650c Avoid aliases 2018-11-06 01:12:19 +01:00
Dominik Ritter
48f0cc11ef Get rid of externals when truncating branch name 2018-11-06 01:11:31 +01:00
Dominik Ritter
3d960a5169 Protect users locale 2018-11-05 02:19:06 +01:00
Dominik Ritter
c3f9d04354 When checking for untracked or modified files, take submodules into account 2018-11-03 03:23:23 +01:00
Dominik Ritter
44b4b66925 Speedup VCS segment
Now the untracked files are detected via `git ls-files`, which is
much faster than `git status`. Additionally, we flipped the default
for checking submodules. They are now NOT checked by default, as most
users probably do not use git submodules.
2018-11-03 03:21:47 +01:00
Dominik Ritter
d07507c1eb Make use of git dir determined by VCS_INFO subsystem
instead of determine the git dir manually.
2018-11-03 03:11:51 +01:00
Dominik Ritter
9a67ca5bc3 Get branch name from VCS_INFO subsystem when collecting remote branch 2018-11-03 03:10:53 +01:00
Dominik Ritter
fea5f616d1 Get branch name from VCS_INFO subsystem when collecting ahead/behind info 2018-11-03 03:08:32 +01:00
Dominik Ritter
cd0ad84b01 Get rid of wc dependency when showing ahead/behind info 2018-11-03 03:06:49 +01:00
Paul Gierz
735994f82e Fix for #974 2018-09-07 11:52:21 +02:00
Dominik Ritter
8e966e3636 Change bright colors to old color codes
Before this, there was no difference in that colors, as we always used
the bright color codes.
2018-08-17 18:52:23 +02:00
Dominik Ritter
6e78f7e793 Merge remote-tracking branch 'eloo/master' into prepare_066 2018-08-12 00:02:23 +02:00
Joseph Weigl
34bf8edc89
Add fallback icon for linux distros 2018-08-11 16:18:23 +02:00
Dominik Ritter
c7e543ff23 Merge branch 'fix_colors' into prepare_066 2018-08-08 02:03:03 +02:00