aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
Commit message (Collapse)AuthorAgeFilesLines
* bug fix: respect POWERLEVEL9K_DISABLE_GITSTATUS; see #246romkatv2019-10-071-1/+4
|
* Revert "add POWERLEVEL9K_DEBUG_DUMP_STATE to aid in debugging #244"romkatv2019-10-071-4/+0
| | | | This reverts commit 55a27c1f07f2f1d8225fce6935fc0d5503d63f34.
* add POWERLEVEL9K_DEBUG_DUMP_STATE to aid in debugging #244romkatv2019-10-061-0/+4
|
* write function _p9k_preinit directly instead of roundtripping it through ↵romkatv2019-10-061-5/+5
| | | | eval + functions
* bug fix: don't leave temp state dumps if gitstatus is disabledromkatv2019-10-051-1/+1
|
* stop autoloading and running "color"; p10k does not use it anymore; people ↵romkatv2019-10-041-1/+0
| | | | who need it can autoload it themselves
* replace eval with (e)romkatv2019-10-041-1/+1
|
* dump state even if the cache directory is world-readableromkatv2019-10-041-1/+1
|
* require zsh >= 5.4 for state dumpsromkatv2019-10-031-1/+1
|
* don't zcompile state dump when rootromkatv2019-10-031-1/+3
|
* take advantage of async gitstatus start to make p10k startup fasterromkatv2019-10-031-80/+102
|
* further startup speedup: zcompile state dumpromkatv2019-10-031-15/+14
|
* fix bugs in startup speedup and make it yet fasterromkatv2019-10-031-37/+80
|
* 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
|