1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-22 07:11:58 +00:00
Commit graph

2323 commits

Author SHA1 Message Date
Dominik Ritter
da50151d24 Fix regular expression 2019-01-21 19:48:28 +01:00
Dominik Ritter
9b73c8bd9c Add tests 2019-01-21 19:46:53 +01:00
Ymage
ee7416962d Remove $VIRTUAL_ENV_DISABLE_PROMPT testing 2019-01-09 17:00:05 +01:00
Ymage
12e9724860 Merge with @dritter proposal 2019-01-07 09:18:34 +01:00
Ymage
a8db401808 [Bugfix] virtualenv prompt displaying
Fix #1127
2019-01-03 12:07:27 +01:00
Shini31
a8fa0332d2 Use ip command for VPN segment - fix #1125 2018-12-30 11:26:04 +01:00
Ben Hilburn
2f4b15041f
Merge pull request #1079 from josselinauguste/master
[Bugfix] Update VIRTUAL_ENV_DISABLE_PROMPT value
2018-11-19 11:04:26 -05:00
Josselin Auguste
5c412b4d42 Update VIRTUAL_ENV_DISABLE_PROMPT value
Following prezto update
2018-11-18 19:54:03 +01:00
Dominik Ritter
d1e4c4c988
Merge pull request #1080 from macserv/port/vcs-segment-untracked-file-check
[Bugfix] Port #1071 to `master` (Fix fatal errors emitted by untracked file check in vcs.zsh)
2018-11-18 09:26:26 +01:00
Matthew Judy
6df2ba0ae0 Port git submodule test from next. 2018-11-17 17:41:55 -05: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
67fd577217
Merge pull request #1074 from dritter/add_vcs_vulnerability_tests_master
Add vcs vulnerability tests master
2018-11-17 01:30:08 +01:00
Dominik Ritter
a72a82b4b1 Fix tests 2018-11-16 22:21:49 +01:00
Dominik Ritter
24818eff79 Fix test
The branch name must not be expanded.
2018-11-16 22:20:21 +01:00
Dominik Ritter
1b7e41964c Fix configuration errors in the tests 2018-11-16 22:20:08 +01:00
Dominik Ritter
7bc5366af1 Add tests for branch name vulnerability 2018-11-16 22:15:35 +01:00
Dominik Ritter
6085a74abf
Merge pull request #1070 from Wieschie/patch-1
[Docs] Uniformly apply inline code formatting in README
2018-11-16 21:40:24 +01:00
Dominik Ritter
5abac53698
Merge pull request #1037 from dritter/fix_vpn_ip_segment
Fix vpn_ip segment
2018-11-16 21:02:29 +01:00
Dominik Ritter
e47b0daaf7
Merge pull request #1036 from dritter/fix_truncate_package_name
Make truncate with package name work without setting shorten length
2018-11-16 21:01:59 +01:00
Evan Schiewe
faa4cb23af
Uniformly apply inline code formatting
All POWERLEVEL variables and directory paths should be formatted with backticks for inline code.  If not marked as code, the ~ home directory can unintentionally apply strikethrough.
2018-11-15 15:41:56 -06:00
Dominik Ritter
4ebb9f92a1 Ensure that LC_CTYPE IS NOT overwritten by P9K 2018-11-14 23:27:05 +01:00
Ben Hilburn
c7d8ef07b7
Merge pull request #1061 from dritter/speedup_vcs4_master
Backport of vcs-speedup #4 into master.
2018-11-12 10:44:23 -05:00
Dominik Ritter
6cfe8f8d96 Add test for detecting untracked files from sibling folder 2018-11-12 00:37:34 +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
Ben Hilburn
78df520772
Merge pull request #1055 from dritter/speedup_vcs_master2
Backporting VCS speedups to master
2018-11-06 09:12:04 -05: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
Ben Hilburn
23f0a1ddcc
Merge pull request #1048 from dritter/speedup_vcs_master
Speedup vcs master
2018-11-05 11:54:02 -05:00
Dominik Ritter
3d960a5169 Protect users locale 2018-11-05 02:19:06 +01:00
Dominik Ritter
9d84e6fb6a Add tests for complex git submodule scenarios 2018-11-03 03:45:05 +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
Dominik Ritter
993de7aef9 Fix vpn_ip segment 2018-10-25 18:48:37 +02:00
Dominik Ritter
dc731f10e6 Make truncate with package name work without setting shorten length 2018-10-25 08:17:29 +02:00
Dominik Ritter
ad14807cef
Merge pull request #1020 from dritter/fix_context_spec
Fix context spec
2018-10-13 10:24:24 +02:00
Dominik Ritter
d831f12126 Do not throw away users configuration 2018-10-12 22:04:02 +02:00
Dominik Ritter
d1cd83bf0b Fix tests
It seems like Travis changed their infrastructure. We
need to unset SSH_TTY and SSH_CLIENT to get the tests
working again.
2018-10-12 21:50:25 +02:00
Yang Tang
5737ca6e81 Remove extra %f in unit tests 2018-10-12 14:09:22 -04:00
Yang Tang
a98fa7ff54
Merge branch 'master' into fix-rprompt-icons-cut-off 2018-10-12 11:29:50 -04:00
Ben Hilburn
b16c0d51d6
Merge pull request #990 from sblondon/sblondon-fogottenbacktick
[Docs] Add forgotten backtick
2018-09-27 16:22:49 -04:00
sblondon
544a383dad
Add forgotten backtick
`truncate_to_first_and_last` is not properly displayed because the ending backtick is not there.
2018-09-16 11:25:49 +02:00