aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "speed up startup by about 3x""romkatv2019-10-031-59/+115
| | | | This reverts commit e5e6249ffd592695ccdb6030a42d3664b3dde480.
* Revert "speed up startup by about 3x"romkatv2019-10-021-115/+59
| | | | | | This reverts commit da72685c8b954ddb5e03e4c62a4ff0197f6f6326. Something broke. See #242. Will debug this and roll forward later.
* speed up startup by about 3xromkatv2019-10-021-59/+115
|
* bug fix: set _p9k_keymap whenever vi_mode is in useromkatv2019-09-251-3/+5
| | | | fixes #232
* aws: consult AWS_VAULT; hide if "default"romkatv2019-09-241-2/+3
|
* new prompt segment: dotnet_versionromkatv2019-09-241-2/+19
| | | | | | | | | | To enable this segment: 1. Run `p10k configure`. 2. Open `~/.p10k.zsh` and search for `dotnet_version`. 3. Uncomment the first occurrence. Fixes #233.
* be more lenient towards awful hacks that zplugin users employromkatv2019-09-201-2/+7
|
* survive faulty fifosromkatv2019-09-201-1/+4
|
* survive emulate sh; fixes #226romkatv2019-09-201-68/+147
|
* add OVERWRITE vi moderomkatv2019-09-181-6/+45
| | | | | | | | | | | | | | | | | | When using vi_mode segment, the new mode can be enabled by defining POWERLEVEL9K_VI_OVERWRITE_MODE_STRING. POWERLEVEL9K_VI_OVERWRITE_MODE_STRING=OVERWRITE When using prompt_char, the new mode can be enabled by defining POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=true. The prompt symbol in OVERWRITE state defaults to '▶'. It can be customized by defining POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIOWR_CONTENT_EXPANSION. POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=true POWERLEVEL9K_PROMPT_CHAR_OK_VIOWR_CONTENT_EXPANSION=R POWERLEVEL9K_PROMPT_CHAR_ERROR_VIOWR_CONTENT_EXPANSION=R Fixes #219.
* s/CONFLICTING/CONFLICTED/ for consistency; see #221romkatv2019-09-181-6/+6
|
* add CONFLICTING state to vcsromkatv2019-09-181-2/+9
| | | | | | | | | | | The new state is used whenever there is at least one conflicting change. It is disabled by default. It can be enabled by defining POWERLEVEL9K_VCS_CONFLICTING_STATE=true. POWERLEVEL9K_VCS_CONFLICTING_STATE=true POWERLEVEL9K_VCS_CONFLICTING_BACKGROUND=magenta Fixes #221.
* survive SH_WORD_SPLIT; fixes #220romkatv2019-09-171-5/+5
|
* more robust KEYMAP handlingromkatv2019-09-171-10/+11
|
* don't assume that KEYMAP is valid everywhere within zleromkatv2019-09-161-10/+13
|
* Fix typo in declare POWERLEVEL9K_DIR_ANCHOR_BOLDFrankie Wittevrongel2019-09-151-1/+1
|
* print new line(s) in precmd instead of embedding them in PROMPTromkatv2019-09-121-1/+4
|
* put most of precmd code under !zleromkatv2019-09-121-34/+37
|
* stop setting prompt_cr and prompt_spromkatv2019-09-121-19/+19
|
* change the default value of POWERLEVEL9K_VPN_IP_INTERFACE to recognize wireguardromkatv2019-09-121-1/+1
|
* show battery as CHARGED on macos if it is at 100% and connected to power supplyromkatv2019-09-091-1/+6
|
* allow prompt segments to be disabled through configuration optionsromkatv2019-09-071-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | Prompt segment `foo` doesn't get evaluated or shown on the left if `${POWERLEVEL9K_FOO_LEFT_DISABLED-$POWERLEVEL9K_FOO_DISABLED}` is equal to `true`. Example: POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir) POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(dir) - By default `dir` is shown on the left and on the right. - `POWERLEVEL9K_DIR_LEFT_DISABLED=true` disables `dir` on the left. - `POWERLEVEL9K_DIR_RIGHT_DISABLED=true` disables `dir` on the right. - `POWERLEVEL9K_DIR_DISABLED=true` disables `dir` everywhere. Note that it's possible to hide segments without disabling their evaluation through expansions. For example: POWERLEVEL9K_DIR_CONTENT_EXPANSION='${HIDE_DIR-$P9K_CONTENT}' POWERLEVEL9K_DIR_VISUAL_IDENTIFIER_EXPANSION='${HIDE_DIR-$P9K_VISUAL_IDENTIFIER}' With these settings, `HIDE_DIR=''` hides `dir` while `unset HIDE_DIR` restores it. fixes #205
* if auto_name_dirs is set, show directory without named directory supportromkatv2019-09-041-23/+29
|
* don't set prompt_crromkatv2019-09-021-2/+3
| | | | | | | Some users prefer to have broken prompt if the last line of command output doesn't end in \n. Powerlevel10k should respect their choice. See #197.
* don't set prompt_spromkatv2019-09-021-2/+3
| | | | | | | Some users prefer to hide the last line of command output if it doesn't end in \n. Powerlevel10k should respect their choice. See #197.
* wizard: add an option to enable `time` segmentromkatv2019-09-011-1/+1
|
* change the default value of POWERLEVEL9K_VPN_IP_INTERFACEromkatv2019-08-301-1/+1
|
* fix load fg colorromkatv2019-08-291-3/+3
|
* include auto_name_dirs in the config signatureromkatv2019-08-291-0/+1
|
* typoromkatv2019-08-281-4/+2
|
* try POWERLEVEL9K_DIR_PACKAGE_FILES patterns in order and skip files without ↵romkatv2019-08-281-15/+21
| | | | "name" in them; fixes #190
* allow network interface to contain colonromkatv2019-08-281-1/+1
|
* fix network interface and ip parsingromkatv2019-08-281-39/+34
|
* add more patterns to POWERLEVEL9K_SHORTEN_FOLDER_MARKERromkatv2019-08-281-1/+18
|
* add `proxy` prompt segmentromkatv2019-08-271-0/+10
|
* fix custom prompt when the command is just one word; fixes #189romkatv2019-08-271-1/+1
|
* don't unset P9K_SSHromkatv2019-08-261-1/+1
|
* fix detection of awesome-mapped-fontconfig in the wizardromkatv2019-08-261-1/+8
|
* make custom prompts more compatible with p9kromkatv2019-08-241-3/+4
|
* better utf-8 handlingromkatv2019-08-201-8/+8
|
* simplify nordvpnromkatv2019-08-201-15/+2
|
* expose P9K_SSH and make it available as soon as p10k is sourcedromkatv2019-08-201-10/+12
|
* trip terraform whitespaceromkatv2019-08-191-0/+1
|
* add terraform prompt segmentromkatv2019-08-191-0/+12
|
* make ZLE_RPROMPT_INDENT emulation condition less strictromkatv2019-08-191-3/+12
|
* add ranger prompt; see #171romkatv2019-08-171-0/+5
|
* Try harder when running on a system with incorrectly configured locale.romkatv2019-08-171-8/+8
| | | | | | | ZSH will still be broken when locale is misconfigured but at least p10k will work so users will look for help elsewhere. Fixes #173.
* bug fix: don't hide command execution status on reset-promptromkatv2019-08-161-3/+6
| | | | fixes #171
* support branch shortening when using gitstatusdromkatv2019-08-141-4/+20
|
* enable nvm prompt if function nvm is definedromkatv2019-08-131-5/+5
| | | | Same thing with a few other env prompts. Fixes #166.