Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

[WIP] Staging 0.6.5 #859

Merged
merged 64 commits into from Jun 25, 2018
Merged

[WIP] Staging 0.6.5 #859

merged 64 commits into from Jun 25, 2018

Conversation

dritter
Copy link
Member

@dritter dritter commented Jun 7, 2018

This is a staging branch to be merged in next.

It includes the following changes (in order of merge):

Not yet merged (This is on purpose and will be done in #863 ):

Chris Chou and others added 30 commits October 6, 2017 09:47
This happens if a user switches from a subdirectory of $HOME
back to the home folder and truncation strategy is "truncate
folders from left". Then the folder is displayed as .../~

PR: Powerlevel9k#773
`$pipestatus` is returning all zeros when using `[[  ]]` expressions
that are false.

This works around it by using `$status` (A.K.A. `$?`) when `$pipestatus`
has only 1 items.

Fixes Powerlevel9k#749
…o display prompt_rbenv if rbenv_version_name is the same as rbenv_global
Fixed home abbreviation not being exclusive with circular navigation
…always-displays-#777

Rbenv prompt option always displays Powerlevel9k#777
Hides the battery segment if percentage hits 100%
Variable now holds an integer, if your battery status is greater or equal to this integer the
segment will be hidden
dritter added 12 commits June 7, 2018 00:11
Conflicts were:
- functions/icons.zsh: The Java Segment was added on master, but on next
were added various Segments with icons in the meantime.
- powerlevel9k.zsh-theme: Java Segment was added on master, Dropbox
Segment was added on next.
Conflicts were:
- powerlevel9k.zsh-theme and test/segments/rust_version.spec:
rust_version Segment changed (Powerlevel9k#641) on master and colors got
names (Powerlevel9k#703) on next.
Conflicts were:
- test/segments/rust_version.spec and powerlevel9k.zsh-theme. Powerlevel9k#826
removes grep from parsing the rust version on next; Powerlevel9k#703 changes color
names.
Conflicts were:
- test/segments/command_execution_time.spec and
test/segments/go_version.spec: All conflicts come from renaming color
names on next (Powerlevel9k#703) and adding a whitespace to the Visual Identifier
(Powerlevel9k#854) on master.
@dritter dritter changed the title Staging 065 [WIP] Staging 0.6.5 Jun 7, 2018
@bhilburn
Copy link
Member

bhilburn commented Jun 8, 2018

@dritter - I'm using this branch, now, and everything is looking solid. In fact, this has sped up the prompt a bit, just on its own.

I'd like to go ahead and get this merged to make our next release (see the conversation in gitter). Let me know what your thoughts are on that plan here (or in Gitter), and let's kick this thing out the door! =)

dritter added a commit to dritter/powerlevel9k that referenced this pull request Jun 9, 2018
@dritter dritter mentioned this pull request Jun 9, 2018
dritter and others added 2 commits June 11, 2018 21:59
- Fix the variable name for the VCS shorten strategy.
- Add a heading for VCS truncation.
ZSH displays the right prompt indented one space from the right
margin. This can be tweaked with ZLE_RPROMPT_INDENT=0, but that
makes display problems very likely and I don't recommend it. But
all is not lost.

The %E prompt format does continue the current background color
through that last indent space. So it can *look* like our prompt
goes right up to the margin, if:
1) We remove the trailing space from the last segment, and
2) We add %E before clearing the background color
@dritter
Copy link
Member Author

dritter commented Jun 16, 2018

Okay. I started to test this branch. First impression is good, but the named colors do not work well in ZSH < 5.1:
bildschirmfoto 2018-06-17 um 00 26 32
But the color improvements are already in next branch.

@bhilburn We should set the minimum ZSH requirement to 5.1..

@bhilburn
Copy link
Member

@dritter - agreed re: setting the minimum version. ZSH 5.1 was released in August of 2015, so I'm okay requiring something newer than that

@dritter
Copy link
Member Author

dritter commented Jun 20, 2018

@bhilburn Currently with the changes from #830 (especially this line) the minimum ZSH version is 5.3. See my discussion in #877

@bhilburn bhilburn merged commit 3486170 into Powerlevel9k:next Jun 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet