Commit graph

1991 commits

Author SHA1 Message Date
Dominik Ritter
bd340d4a88
Merge pull request #966 from ytang/fix-rprompt-icons-cut-off
[Bugfix] Fix icons cut off in RPROMPT segments
2019-02-01 14:19:02 +01:00
Dominik Ritter
c56cbb800a Add documentation 2019-02-01 14:13:02 +01:00
Dominik Ritter
2f05bbbb47 Remove checking for NODEENV_DISABLE_PROMPT
This variable is none of our buisness.
2019-02-01 11:09:42 +01:00
Dominik Ritter
020287dd75 Fix Segment endings if followed by newline 2019-02-01 11:01:59 +01:00
Ythildir
1a1572669c Fix white arrow on newline 2019-02-01 10:34:11 +01:00
HaoZeke
58f70e57e6 rvm: Use @natemccurdy review suggestions 2019-01-25 08:36:12 +01:00
HaoZeke
a41f2e81ae rvm: Only show version and patchset 2019-01-25 08:21:10 +01:00
HaoZeke
1da5fd2ed7 Revert "Huge performance improvement if you use rvm segment."
This reverts commit 643555a30c.

This does allow rvm to be detected even without using the depreciated
gemset settings.
2019-01-25 08:18:20 +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
Dominik Ritter
081000c49e Replace call to basename with ZSH internals #1128 2019-01-23 22:47:10 +01:00
Dominik Ritter
8b4bed99df Add documentation about VIRTUAL_ENV_DISABLE_PROMPT #1128 2019-01-23 22:37:45 +01:00
Dominik Ritter
e028513bb9
Merge pull request #1128 from ymage/fix_virtualenv_prompt
[Bugfix] virtualenv prompt displaying
2019-01-23 22:25:05 +01:00
Dominik Ritter
747b94b1b6 Match VPN interface fuzzy on Linux 2019-01-23 19:10:46 +01:00
Dominik Ritter
bde4337992 Match VPN Interface fuzzy 2019-01-23 18:56:07 +01:00
Dominik Ritter
54a985cb11 Simplify code that checks if a VPN is running 2019-01-23 01:02:42 +01:00
Dominik Ritter
480ade162b Improve tests 2019-01-23 01:01:49 +01:00
Dominik Ritter
32d3216bde Fix tests 2019-01-22 19:18:09 +01:00
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