aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* add POWERLEVEL9K_RUST_VERSION_PROJECT_ONLY and ↵romkatv2019-08-121-21/+29
| | | | POWERLEVEL9K_GO_VERSION_PROJECT_ONLY
* short rust_version only when in a subdirectory of a cargo packageromkatv2019-08-121-0/+5
| | | | fixes #164
* add POWERLEVEL9K_RVM_SHOW_GEMSET and POWERLEVEL9K_RVM_SHOW_PREFIXromkatv2019-08-101-1/+5
| | | | Some users want them. See https://github.com/Powerlevel9k/powerlevel9k/pull/1353.
* Revert "add P9K_PROMPT_CHAR_STATE; it's experimental, don't use unless you ↵romkatv2019-08-091-7/+6
| | | | | | | | are a trusted tester" This reverts commit 429b07d4f890421d473abc76e1748ba239855dd3. Fixes #154.
* add P9K_PROMPT_CHAR_STATE; it's experimental, don't use unless you are a ↵romkatv2019-08-071-6/+7
| | | | trusted tester
* wizard: enable os_icon for users who like many iconsromkatv2019-08-071-3/+6
|
* don't trust $PWD as it can be changed; use ${(%):-%/} insteadromkatv2019-08-071-23/+27
| | | | It's possible that #156 is caused by some code changing PWD.
* ignore zshexit hook calls done from forksromkatv2019-08-061-1/+5
|
* add POWERLEVEL9K_VCS_CONFLICTED_MAX_NUMromkatv2019-08-051-0/+2
|
* be more tolerant towards misconfigured locales; users with non-utf-8 locales ↵romkatv2019-08-051-0/+8
| | | | will still have broken shells but at least p10k will work
* require zsh 5.3 for nordvpn segment; fixes #148romkatv2019-08-051-1/+2
|
* add another option for i686 usersromkatv2019-08-051-0/+5
|
* speciazled diagnostics for i686; more escapes; more optsromkatv2019-08-051-80/+87
|
* defend against global IFS leaks from other code; for #146romkatv2019-08-021-9/+13
|
* add P9K_NORDVPN_TECHNOLOGYromkatv2019-08-021-0/+2
|
* bug fix: support color names in vcs style; fixes #144romkatv2019-08-011-3/+3
|
* better errors in p10k segmentromkatv2019-07-311-12/+17
|
* add "help" and "segment" commands to p10kromkatv2019-07-311-103/+149
|
* add p10k configureromkatv2019-07-311-0/+10
|
* add a teardown hook for zpluginromkatv2019-07-311-0/+3
|
* run configuration wizard if POWERLEVEL9K_MODE is the only set parameterromkatv2019-07-311-1/+1
|