romkatv
49768006de
bug fixes
5 years ago
romkatv
12a99c087d
continue param refactoring
5 years ago
romkatv
d63fd9a873
start massive refactoring of config params
5 years ago
romkatv
c3990c53a9
render VCS_GIT_ICON and the like as segment visual identifiers instead of embedding them in the content
5 years ago
romkatv
165021946c
Merge branch 'add_space_between_remote_icon_and_commit_hash' of https://github.com/cdalvaro/powerlevel10k into cdalvaro-add_space_between_remote_icon_and_commit_hash
5 years ago
romkatv
db35731c46
add RIGHT_SEGMENT_END_SEPARATOR
5 years ago
Carlos Álvaro
a8c759e4af
Add space between remote icon and commit hash
5 years ago
romkatv
8bc9b78825
ignore COLUMNS in _p9k_prompt_length
6 years ago
romkatv
4e3ec4850c
new feature: ruler above the prompt; to enable: POWERLEVEL9K_SHOW_RULER=true
6 years ago
romkatv
a405d8af70
optimize _p9k_g_expand a little
6 years ago
romkatv
784dc059cd
add _p9k_prompt_length
6 years ago
romkatv
6539b1cb38
fix a typo
6 years ago
romkatv
88963159fd
speed up ip, vpn_ip and public_ip prompts
6 years ago
romkatv
b92d510882
speed up ram and swap prompts
6 years ago
romkatv
3c5b52750e
append POWERLEVEL9K_SHORTEN_DELIMITER when shortening with truncate_to_unique; use * as default in this case
6 years ago
romkatv
7cfe479c87
support dynamic directories in dir prompt and fix a dozen bugs
6 years ago
romkatv
f5c2bf1669
force icon initialization if print_icon is called manually
6 years ago
romkatv
361eec6f95
replace all -v checks with equivalents (trying to port to zsh 5.2)
6 years ago
romkatv
0e0132e8fa
protect set_default from user-defined options
6 years ago
Ming Aldrich-Gan
91b2526c02
Add LINUX_RASPBIAN_ICON (Raspberry Pi icon) as an OS_ICON candidate
6 years ago
Sam Miller
2801642436
Add VCS_LOADING_ICON to the icons map
6 years ago
romkatv
5bd80d88f1
check for joined segments when figuring out whether vcs is enabled; fixes #41
6 years ago
romkatv
85e9f4955b
expand string parameters with (g::) where appropriate
6 years ago
romkatv
2d877f95fd
fix POWERLEVEL9K_SHORTEN_DELIMITER
6 years ago
romkatv
5ee0054298
don't read configuration options until the first precmd; plus massive refactoring and cleanup
6 years ago
Dominik Ritter
613b798bb3
Merge pull request #1126 from Shini31/master
...
Use ip command for VPN segment - fix #1125
6 years ago
Dominik Ritter
1049bca473
Strip all newlines from ifconfig output
6 years ago
Dominik Ritter
fef639eb48
Fix regex
6 years ago
Dominik Ritter
1ab6a32c4b
Interface States can be unsorted
6 years ago
🐈
d1fbc1b889
Hide errors from git ls-files
6 years ago
Dominik Ritter
9f9bc62dc9
Avoid loopback interfaces and parse IPv4 on OSX
6 years ago
Dominik Ritter
a00cb84da4
Fix regular expression and test
6 years ago
Dominik Ritter
06151eeba9
Merge remote-tracking branch 'ben/master' into HEAD
6 years ago
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.
6 years ago
Dominik Ritter
6ccdfdf37e
Merge pull request #981 from pgierz/os_release_fix
...
[Bugfix] Fix for #974
6 years ago
Dominik Ritter
938b0d49a1
Avoid externals when parsing the os release on linux
6 years ago
Matthew Judy
574ee6dc1c
Port #1071 to `master` (fatal errors emitted by untracked file check in vcs.zsh)
6 years ago
Dominik Ritter
724781e896
Merge pull request #1065 from dritter/protect_locale
...
Protect locale
6 years ago
Dominik Ritter
fd660f4b92
Fix checking for untracked files
...
Now the untracked files are always checked from
the root folder of the repo.
6 years ago
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.
6 years ago
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.
6 years ago
Dominik Ritter
a90258a9ee
Avoid warning when inside of .git dir
...
We cannot detect untracked files when we are inside of
a .git directory.
6 years ago
Dominik Ritter
3256258ebf
Count stashes via ZSH
6 years ago
Dominik Ritter
2038e2650c
Avoid aliases
6 years ago
Dominik Ritter
48f0cc11ef
Get rid of externals when truncating branch name
6 years ago
Dominik Ritter
3d960a5169
Protect users locale
6 years ago
Dominik Ritter
c3f9d04354
When checking for untracked or modified files, take submodules into account
6 years ago
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.
6 years ago
Dominik Ritter
d07507c1eb
Make use of git dir determined by VCS_INFO subsystem
...
instead of determine the git dir manually.
6 years ago
Dominik Ritter
9a67ca5bc3
Get branch name from VCS_INFO subsystem when collecting remote branch
6 years ago