aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
Commit message (Collapse)AuthorAgeFilesLines
* Remove erroneous plusRoman Perepelitsa2019-07-301-2/+2
| | | Fixes #142
* run configuration wizard automatically if no POWERLEVEL9K options are definedromkatv2019-07-301-1/+13
|
* fix fg color of RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOLromkatv2019-07-301-2/+3
|
* ensure kubecontext namespace is not emptyromkatv2019-07-301-3/+3
|
* expose more P9K_KUBECONTEXT variables for gke and eks contextsromkatv2019-07-301-35/+42
|
* use consisent patterns when parsing yamlromkatv2019-07-301-1/+1
|
* kubecontext: handle strings with spaces and ignore multi-line stringsromkatv2019-07-301-8/+10
|
* bug fixes: don't replace '_' with ' ' in gke clusters and clear the default ↵romkatv2019-07-301-7/+6
| | | | of POWERLEVEL9K_KUBECONTEXT_SHORTEN
* silly typo: '\n' => $'\n'romkatv2019-07-301-1/+1
| | | | fixes #140
* add optional kubecontext shortening for gke and eks contextsromkatv2019-07-291-12/+53
| | | | | | | | | | | | | | | | | This is done via an optional array parameter that lists shortening stragies to be applied. Currently there are only two supported strategies: 'gke' and 'eks'. # Shorten gke and eks cluster names: # # - gke_projectname_availability-zone_cluster-01 => cluster-01 # - arn:aws:eks:us-east-1:XXXXXXXXXXXX:cluster/eks-infra => eks-infra # # This transformation is applied before class matching and content # expansion. POWERLEVEL9K_KUBECONTEXT_SHORTEN=(gke eks) For https://github.com/romkatv/powerlevel10k/issues/139.
* add nodeenv parameters similar to other envsromkatv2019-07-291-6/+12
|
* support POWERLEVEL9K_CONTEXT_${state}_TEMPLATEromkatv2019-07-291-10/+19
|
* quote process subsromkatv2019-07-291-44/+46
|
* fix POWERLEVEL9K_DIR_CLASSESromkatv2019-07-291-2/+2
|
* Don't show ram prompt if /proc/meminfo lists not-a-number for MemAvailable.romkatv2019-07-291-2/+4
| | | | | I've never encountered the case where this commit makes a difference but it's possible that #136 will get fixed.
* expose p9k_configureromkatv2019-07-281-3/+3
|
* cleanupromkatv2019-07-281-2/+2
|
* default background to black in p9k_prompt_segment; commentsromkatv2019-07-271-6/+6
|
* do nothing in p9k_prompt_segment if not called by p10kromkatv2019-07-271-5/+7
|
* fix status on zsh 5.1romkatv2019-07-271-8/+10
|
* typoromkatv2019-07-271-1/+1
|
* fix many bugs in status related to pipelinesromkatv2019-07-271-31/+88
|
* recognize vivis and vivli keymaps as visual vi moderomkatv2019-07-271-7/+7
| | | | | | | These keymaps are created by https://github.com/b4b4r07/zsh-vimode-visual. I don't know why anyone would use this instead of the standard `v` and `V` keybindings. Requested in https://github.com/romkatv/powerlevel10k/issues/134.
* add a few extra states and parameters to make it possible to configure ↵romkatv2019-07-261-46/+44
| | | | decent `status`
* nordvpn: add CONNECTING and DISCONECTING states, remove OTHERromkatv2019-07-261-8/+46
| | | | See https://github.com/romkatv/powerlevel10k/issues/133.
* cleanup in nordvpnromkatv2019-07-251-12/+12
|
* remove junkromkatv2019-07-251-6/+0
|
* add nordvpn prompt segmentromkatv2019-07-251-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This segment has four states. MISSING: nordvpn is not installed. By default the segment is not shown in this state. Override POWERLEVEL9K_NORDVPN_MISSING_CONTENT_EXPANSION and/or POWERLEVEL9K_NORDVPN_MISSING_VISUAL_IDENTIFIER_EXPANSION to make the segment visible. CONNECTED: nordvpn is connected. By default shows LOCK_ICON as icon and country code as content. In addition, the following variables are set for the use by POWERLEVEL9K_NORDVPN_CONNECTED_CONTENT_EXPANSION and POWERLEVEL9K_NORDVPN_CONNECTED_VISUAL_IDENTIFIER_EXPANSION: P9K_NORDVPN_PROTOCOL, P9K_NORDVPN_IP_ADDRESS, P9K_NORDVPN_SERVER, P9K_NORDVPN_COUNTRY, P9K_NORDVPN_CITY and P9K_NORDVPN_STATUS (always "Connected"). These correspond to the output lines of `nordvpn status`. DISCONNECTED: nordvpn is disconnected. By default shows LOCK_ICON as icon and FAIL_ICON as content. P9K_NORDVPN_STATUS is set to "Disconnected". OTHER: nordvpn is in status other than "Connected" or "Disconnected". I'm not sure this is possible. By default shows LOCK_ICON as icon and FAIL_ICON as content. P9K_NORDVPN_STATUS is set to the actual status (neither empty, "Connected" nor "Disconnected"). Fixes #133. Needs more testing.
* optimize style escapingromkatv2019-07-251-24/+29
|
* commentsromkatv2019-07-241-6/+7
|
* document p9k_prompt_segmentromkatv2019-07-241-7/+75
|
* stop passing arguments to prompt_* functions; rename some internal functionsromkatv2019-07-241-210/+213
|
* delete prompt_icons_testromkatv2019-07-241-12/+0
|
* daemonize async pumpromkatv2019-07-241-8/+9
|
* correctly handle ZLE_RPROMPT_INDENT changesromkatv2019-07-241-3/+11
|
* reinit on param changesromkatv2019-07-241-81/+95
|
* make prompt_powerlevel9k_teardown and prompt_powerlevel9k_setup reentrantromkatv2019-07-241-148/+175
|
* move icons.zsh to internalromkatv2019-07-241-3/+2
|
* inline colors.zsh, utilities.zsh and vcs.zshromkatv2019-07-241-2/+387
|
* rename all internal varsromkatv2019-07-241-488/+526
|
* bug fixesromkatv2019-07-241-1/+3
|
* s/P9K_NODE_VERSION_PROJECT_ONLY/POWERLEVEL9K_NODE_VERSION_PROJECT_ONLYromkatv2019-07-241-2/+2
|
* continue param refactoringromkatv2019-07-231-50/+9
|
* start massive refactoring of config paramsromkatv2019-07-231-786/+772
|
* less escapingromkatv2019-07-231-9/+9
|
* more intelligent quoting of expansionsromkatv2019-07-231-17/+18
|
* cleanupromkatv2019-07-231-4/+4
|
* got overexcited with backslashesromkatv2019-07-231-4/+4
|
* wrap unescaped multiline prefixes; fixes #125romkatv2019-07-221-4/+8
|
* add POWERLEVEL9K_ICON_BEFORE_CONTENTromkatv2019-07-211-41/+96
|