aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
Commit message (Collapse)AuthorAgeFilesLines
* set P9K_STARTUP_CONSOLE_OUTPUT to assist in debugging startup console output ↵Roman Perepelitsa2023-05-101-0/+1
| | | | problems
* whitelist DCS in startup console output (#2299)Roman Perepelitsa2023-05-101-1/+3
|
* nvm: change the default value of POWERLEVEL9K_NVM_PROMPT_ALWAYS_SHOW back to ↵Roman Perepelitsa2023-05-081-2/+2
| | | | false (#2296)
* nvm: change the default value of POWERLEVEL9K_NVM_PROMPT_ALWAYS_SHOW to true ↵Roman Perepelitsa2023-05-081-9/+9
| | | | and fix the way it is used (#2296)
* nvm: implement POWERLEVEL9K_NVM_PROMPT_ALWAYS_SHOW and default to falseZaidhaan Hussain2023-05-071-1/+5
|
* nvm: implement POWERLEVEL9K_NVM_SHOW_SYSTEM and default to trueZaidhaan Hussain2023-05-071-0/+4
|
* increase the default value of POWERLEVEL9K_GITSTATUS_INIT_TIMEOUT_SEC from 5 ↵Roman Perepelitsa2023-04-291-2/+2
| | | | to 10
* add POWERLEVEL9K_GITSTATUS_INIT_TIMEOUT_SECRoman Perepelitsa2023-04-291-2/+4
|
* added icon for kali linuxMartin Mosler2023-04-231-0/+1
|
* correctly resolve node_version when using nodenv (#2268)Roman Perepelitsa2023-04-181-8/+35
|
* bump versionRoman Perepelitsa2023-04-121-1/+1
|
* do not infer nix_shell from PATH unless ↵Roman Perepelitsa2023-04-121-4/+8
| | | | POWERLEVEL9K_NIX_SHELL_INFER_FROM_PATH is set to true (#2246)
* simplify _p9k_url_escapeRoman Perepelitsa2023-04-071-10/+3
|
* nerdfonts-v3: add an icon for EndevourOS (#1933)Roman Perepelitsa2023-04-021-0/+1
|
* display nix_shell if path contains /nix/store/* (#2246)Roman Perepelitsa2023-04-011-2/+4
|
* add an optional parameter to _p9k_upglob to pass glob qualifiers and use it ↵Roman Perepelitsa2023-01-301-39/+36
| | | | in most cases to restrict globbing to files/directories/links/etc (#2175)
* fix the default value of POWERLEVEL9K_VPN_IP_INTERFACEMehyar2023-01-281-1/+1
| | | | It was broken by #1730.
* fix a silly bug introduced in the last commit (#2170)Roman Perepelitsa2023-01-231-1/+1
|
* fix network interface detection on macos (#2170)Roman Perepelitsa2023-01-231-1/+1
| | | | This was broken in #2088.
* bust cachesRoman Perepelitsa2023-01-191-1/+1
|
* Add AWS partitions support to EKS kubernetes cluster namesZoltán Reegn2023-01-191-1/+1
| | | | | | | | | | The AWS ARN in govcloud and china looks different to the currently supported one: https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/using-govcloud-arns.html https://docs.amazonaws.cn/en_us/aws/latest/userguide/ARNs.html This change introduces support for all possible AWS partitions.
* don't trust P9K_SSH if it was set with a different TTY (#2154)v1.17.0Roman Perepelitsa2023-01-131-2/+3
|
* work around a bug in ohmyzsh (#2152)Roman Perepelitsa2023-01-111-1/+1
| | | | | | The bug was introduced here: https://github.com/ohmyzsh/ohmyzsh/commit/3dd83a22a160249a71631a51490fd3b89d1b3975 This causes Oh My Zsh to print \r to the terminal.
* Add lf segmentUtkarsh Verma2022-12-161-0/+12
|
* fix bugs in cpu_archRoman Perepelitsa2022-12-021-7/+13
|
* Use "machine" where available for CPU archClark S. Cox2022-12-021-1/+3
| | | | This allows shells on macOS to display more specific CPU arch (e.g. a 64-bit intel machine will display "x86_64" instead of "i386")
* assume that dotnet version may depend on the content of global.json (#2103)Roman Perepelitsa2022-11-271-2/+5
|
* Prefer `ip` over `ifconfig` for i/f detection.Jonathan Sambrook2022-11-141-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | `ifconfig`'s formatting doesn't cope well with long interface names. In these cases it will eat up the whitespace separating the name from the text "Link" in the output, which makes parsing the output problematic. e.g. `ifconfig`: wlp0s20f0u2Link encap:Ethernet HWaddr 00:AA:BB:CC:DD:EE v.s `ip`: 21: wlp0s20f0u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc \ mq state UP group default qlen 1000 This commit swaps the order of detection inside `_p9k_prompt_net_iface_async()`, so that `ip` will be preferred. `ifconfig` is deprecated by distros in favour of `ip`, so this will often be an incredibly marginal performance boost :) NOTE: this commit does not address the problem with using `ifconfig`. I don't understand the zsh regex, so have not touched it.
* replace POWERLEVEL9K_CHRUBY_SHOW_ENGINE_IF_RUBY with ↵Roman Perepelitsa2022-11-021-7/+7
| | | | | | | | | | | | | | | | | POWERLEVEL9K_CHRUBY_SHOW_ENGINE_PATTERN (#2072) POWERLEVEL9K_CHRUBY_SHOW_ENGINE_PATTERN defines a pattern that RUBY_ENGINE should match for it to be shown. Matching is done with extended_glob. For example, to show all values of RUBY_ENGINE except "ruby": POWERLEVEL9K_CHRUBY_SHOW_ENGINE_PATTERN='^ruby' If POWERLEVEL9K_CHRUBY_SHOW_ENGINE_PATTERN is unset and POWERLEVEL9K_CHRUBY_SHOW_ENGINE is set to true, the behavior is the same as if POWERLEVEL9K_CHRUBY_SHOW_ENGINE_PATTERN was set to *.
* Add chruby config to hide RUBY_ENGINE when "ruby"Hartley McGuire2022-11-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the chruby segment looks like this for standard and non-standard ruby implementations respectively: ``` Ruby ruby 3.1.2 Ruby truffleruby 3.0.3 ``` While displaying the RUBY_ENGINE is helpful for non-standard implementations, showing it for "ruby" results in "Ruby ruby" which feels redundant. This commit adds a new configuration option to disable showing the RUBY_ENGINE when it is "ruby". Other values for RUBY_ENGINE will always display as before: ``` Ruby 3.1.2 Ruby truffleruby 3.0.3 ``` This also makes the formatting more similar to the asdf segment: ``` Ruby 3.1.2 Ruby truffleruby-22.3.0 ```
* rename arch to cpu_arch and rewrite it (#1752)Roman Perepelitsa2022-10-091-8/+16
|
* Merge branch 'master' of github.com:brent-moffit/powerlevel10k into ↵Roman Perepelitsa2022-10-081-0/+17
|\ | | | | | | brent-moffit-master
| * Add instant prompt for archbrent-moffit2022-02-141-0/+2
| |
| * Change arch prompt colors to better match default themesbrent-moffit2022-02-141-1/+1
| |
| * Add `arch` prompt for displaying CPU architecturebrent-moffit2022-02-031-0/+15
| | | | | | | | Adds the `arch` prompt to `p10k.zsh`, `ARCH_ICON` to `icons.zsh`, and commented entries in the default configs
* | fix bugs introduced in 843dcf016710a4fe39f8ad65da2929f9128436fdRoman Perepelitsa2022-10-051-5/+5
| |
* | survive broken FPATH (#10Roman Perepelitsa2022-10-021-9/+9
| |
* | Fix gcloud config directoryhayas12022-09-231-2/+2
| |
* | don't trust cnorm as it's incorrect in some combinations of terminals and ↵Roman Perepelitsa2022-07-211-2/+10
| | | | | | | | terminfo (#1699)
* | fix toolbox segment (#1916)Roman Perepelitsa2022-07-201-3/+4
| |
* | use HOST for distrobox detectionChristian Schulze2022-06-241-1/+1
| |
* | battery plugin: Support Linux on Librem5 phoneGerald Turner2022-06-181-2/+2
| |
* | cleanupRoman Perepelitsa2022-05-261-2/+2
| |
* | suppress `nounset` error if `DIRENV_DIR` isn’t defined (fix #1876)Lucas Larson2022-05-261-2/+2
| | | | | | | | Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
* | work around a bug in zsh 5.4.1 (#1872)Roman Perepelitsa2022-05-201-2/+2
| | | | | | | | | | | | | | | | Here's the bug: zsh -fc 'print "${#${x}}"' This code should print "0" but it prints "1" in zsh 5.4.1.
* | disable vscode integration; it doesn't work anyway but it makes shell slowerRoman Perepelitsa2022-04-041-0/+2
| | | | | | | | Context: https://github.com/microsoft/vscode/pull/145610#issuecomment-1076519194
* | ignore garbage printed by vscodeRoman Perepelitsa2022-03-201-0/+2
| |
* | bug fix: strip escape sequences in instant prompt output less aggressivelyRoman Perepelitsa2022-03-201-1/+1
| |
* | minor cleanup around perlbrewRoman Perepelitsa2022-02-281-4/+3
| |
* | chore: forgot to add global variables to mainLucas Burns2022-02-271-0/+2
| |