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

Better customization approach #2

Merged
merged 2 commits into from
Mar 22, 2015

Conversation

dritter
Copy link
Member

@dritter dritter commented Mar 22, 2015

For better customization, you can add an array of elements in your zshrc:
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS

These are arrays, where you can set your prompt-segments.
Example:
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir git)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(longstatus history time)

dritter added 2 commits March 22, 2015 20:10
For better customization, you can add an array of elements in your zshrc:
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS
@dritter dritter changed the title All elements can now be on each side. Better customization approach Mar 22, 2015
bhilburn added a commit that referenced this pull request Mar 22, 2015
Allow users to much more easily customize the left and right prompts.
@bhilburn bhilburn merged commit 10ce7c3 into Powerlevel9k:master Mar 22, 2015
@dritter dritter deleted the dritter/better_customization branch March 29, 2015 20:13
FluxAugur referenced this pull request in FluxAugur/powerlevel9k May 25, 2016
onaforeignshore referenced this pull request in onaforeignshore/powerlevel9k Mar 29, 2018
Travis seems to have a problem with this line:

    typeset -gU P9K_PROMPT_ELEMENTS=("${P9K_LEFT_PROMPT_ELEMENTS[@]}" "${P9K_RIGHT_PROMPT_ELEMENTS[@]}")

replaced it with:

    typeset -gU P9K_PROMPT_ELEMENTS
    P9K_PROMPT_ELEMENTS=("${P9K_LEFT_PROMPT_ELEMENTS[@]}" "${P9K_RIGHT_PROMPT_ELEMENTS[@]}")
bhilburn pushed a commit that referenced this pull request Apr 18, 2018
frescoraja pushed a commit to frescoraja/powerlevel9k that referenced this pull request Aug 18, 2018
…rconfig

editorconfig: trim trailing spaces
dritter pushed a commit that referenced this pull request Dec 15, 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.

2 participants