Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | do not infer nix_shell from PATH unless ↵ | Roman Perepelitsa | 2023-04-12 | 1 | -4/+8 | |
| | | | | POWERLEVEL9K_NIX_SHELL_INFER_FROM_PATH is set to true (#2246) | |||||
* | simplify _p9k_url_escape | Roman Perepelitsa | 2023-04-07 | 1 | -10/+3 | |
| | ||||||
* | nerdfonts-v3: add an icon for EndevourOS (#1933) | Roman Perepelitsa | 2023-04-02 | 1 | -0/+1 | |
| | ||||||
* | display nix_shell if path contains /nix/store/* (#2246) | Roman Perepelitsa | 2023-04-01 | 1 | -2/+4 | |
| | ||||||
* | add an optional parameter to _p9k_upglob to pass glob qualifiers and use it ↵ | Roman Perepelitsa | 2023-01-30 | 1 | -39/+36 | |
| | | | | in most cases to restrict globbing to files/directories/links/etc (#2175) | |||||
* | fix the default value of POWERLEVEL9K_VPN_IP_INTERFACE | Mehyar | 2023-01-28 | 1 | -1/+1 | |
| | | | | It was broken by #1730. | |||||
* | fix a silly bug introduced in the last commit (#2170) | Roman Perepelitsa | 2023-01-23 | 1 | -1/+1 | |
| | ||||||
* | fix network interface detection on macos (#2170) | Roman Perepelitsa | 2023-01-23 | 1 | -1/+1 | |
| | | | | This was broken in #2088. | |||||
* | bust caches | Roman Perepelitsa | 2023-01-19 | 1 | -1/+1 | |
| | ||||||
* | Add AWS partitions support to EKS kubernetes cluster names | Zoltán Reegn | 2023-01-19 | 1 | -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.0 | Roman Perepelitsa | 2023-01-13 | 1 | -2/+3 | |
| | ||||||
* | work around a bug in ohmyzsh (#2152) | Roman Perepelitsa | 2023-01-11 | 1 | -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 segment | Utkarsh Verma | 2022-12-16 | 1 | -0/+12 | |
| | ||||||
* | fix bugs in cpu_arch | Roman Perepelitsa | 2022-12-02 | 1 | -7/+13 | |
| | ||||||
* | Use "machine" where available for CPU arch | Clark S. Cox | 2022-12-02 | 1 | -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 Perepelitsa | 2022-11-27 | 1 | -2/+5 | |
| | ||||||
* | Prefer `ip` over `ifconfig` for i/f detection. | Jonathan Sambrook | 2022-11-14 | 1 | -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 Perepelitsa | 2022-11-02 | 1 | -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 McGuire | 2022-11-02 | 1 | -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 Perepelitsa | 2022-10-09 | 1 | -8/+16 | |
| | ||||||
* | Merge branch 'master' of github.com:brent-moffit/powerlevel10k into ↵ | Roman Perepelitsa | 2022-10-08 | 1 | -0/+17 | |
|\ | | | | | | | brent-moffit-master | |||||
| * | Add instant prompt for arch | brent-moffit | 2022-02-14 | 1 | -0/+2 | |
| | | ||||||
| * | Change arch prompt colors to better match default themes | brent-moffit | 2022-02-14 | 1 | -1/+1 | |
| | | ||||||
| * | Add `arch` prompt for displaying CPU architecture | brent-moffit | 2022-02-03 | 1 | -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 843dcf016710a4fe39f8ad65da2929f9128436fd | Roman Perepelitsa | 2022-10-05 | 1 | -5/+5 | |
| | | ||||||
* | | survive broken FPATH (#10 | Roman Perepelitsa | 2022-10-02 | 1 | -9/+9 | |
| | | ||||||
* | | Fix gcloud config directory | hayas1 | 2022-09-23 | 1 | -2/+2 | |
| | | ||||||
* | | don't trust cnorm as it's incorrect in some combinations of terminals and ↵ | Roman Perepelitsa | 2022-07-21 | 1 | -2/+10 | |
| | | | | | | | | terminfo (#1699) | |||||
* | | fix toolbox segment (#1916) | Roman Perepelitsa | 2022-07-20 | 1 | -3/+4 | |
| | | ||||||
* | | use HOST for distrobox detection | Christian Schulze | 2022-06-24 | 1 | -1/+1 | |
| | | ||||||
* | | battery plugin: Support Linux on Librem5 phone | Gerald Turner | 2022-06-18 | 1 | -2/+2 | |
| | | ||||||
* | | cleanup | Roman Perepelitsa | 2022-05-26 | 1 | -2/+2 | |
| | | ||||||
* | | suppress `nounset` error if `DIRENV_DIR` isn’t defined (fix #1876) | Lucas Larson | 2022-05-26 | 1 | -2/+2 | |
| | | | | | | | | Signed-off-by: Lucas Larson <LucasLarson@riseup.net> | |||||
* | | work around a bug in zsh 5.4.1 (#1872) | Roman Perepelitsa | 2022-05-20 | 1 | -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 slower | Roman Perepelitsa | 2022-04-04 | 1 | -0/+2 | |
| | | | | | | | | Context: https://github.com/microsoft/vscode/pull/145610#issuecomment-1076519194 | |||||
* | | ignore garbage printed by vscode | Roman Perepelitsa | 2022-03-20 | 1 | -0/+2 | |
| | | ||||||
* | | bug fix: strip escape sequences in instant prompt output less aggressively | Roman Perepelitsa | 2022-03-20 | 1 | -1/+1 | |
| | | ||||||
* | | minor cleanup around perlbrew | Roman Perepelitsa | 2022-02-28 | 1 | -4/+3 | |
| | | ||||||
* | | chore: forgot to add global variables to main | Lucas Burns | 2022-02-27 | 1 | -0/+2 | |
| | | ||||||
* | | feature: added perlbrew | Lucas Burns | 2022-02-27 | 1 | -0/+20 | |
| | | ||||||
* | | bug fix: correctly parse kubectl config when current-context has ↵ | Roman Perepelitsa | 2022-02-14 | 1 | -1/+1 | |
|/ | | | | metacharacters (#1767) | |||||
* | fix shell integration with kittyv1.16.1kitty | Roman Perepelitsa | 2022-02-01 | 1 | -0/+26 | |
| | ||||||
* | survive broken $TMPDIR | Roman Perepelitsa | 2022-01-26 | 1 | -4/+14 | |
| | ||||||
* | don't set OS, DEFAULT_COLOR and DEFAULT_COLOR_INVERTED | Roman Perepelitsa | 2022-01-25 | 1 | -6/+1 | |
| | | | | See #1735. | |||||
* | fix ZeroTier network interface regex | Roman Perepelitsa | 2022-01-20 | 1 | -2/+2 | |
| | | | | | | | | From https://forwardingplane.net/configuration-archive/renaming-interfaces-under-linux/: > ZeroTier has the inconsistency of using zt* on some platforms and ztublkahlah on others. They mean zt[0-9]+ and zt[a-z0-9]+. | |||||
* | Add ZeroTier to the list of VPNs | Mehyar | 2022-01-20 | 1 | -1/+1 | |
| | | | ZeroTier users can also see their VPN IP when enabling the vpn_ip option. | |||||
* | work around bugs in WSL where it reports more swap being used than the total ↵ | Roman Perepelitsa | 2022-01-17 | 1 | -0/+2 | |
| | | | | available (#1724) | |||||
* | respect VIRTUAL_ENV_PROMPT if its value is different from the default (#1718) | Roman Perepelitsa | 2022-01-14 | 1 | -1/+5 | |
| | ||||||
* | add an icon for amazon linux (#1706) | Roman Perepelitsa | 2022-01-06 | 1 | -1/+2 | |
| | ||||||
* | work around bugs in WSL where it /proc/pid/cwd reports an alias drive | Roman Perepelitsa | 2022-01-04 | 1 | -1/+5 | |
| |