aboutsummaryrefslogtreecommitdiff
path: root/internal
Commit message (Collapse)AuthorAgeFilesLines
* wizard bug fix: offer advanced powerline options when using nerdfont-v3nerdfonts-v3Roman Perepelitsa2023-04-031-3/+3
|
* wizard: detect POWERLEVEL9K_MODE=nerdfont-v3Roman Perepelitsa2023-04-021-16/+27
| | | | This is Step 2 of https://github.com/romkatv/powerlevel10k/issues/2217#issuecomment-1493271666.
* wizard: rename capability "arrow" to "quotes"Roman Perepelitsa2023-04-021-7/+7
|
* nerdfonts-v3: add an icon for EndevourOS (#1933)Roman Perepelitsa2023-04-023-0/+9
|
* nerdfonts-v3: use the kubernetes logo as a kubernetes icon (#2184)Roman Perepelitsa2023-04-021-1/+1
|
* nerdfonts-v3: add icons for artix and void linux (#2033)Roman Perepelitsa2023-04-021-2/+2
|
* add POWERLEVEL9K_MODE=nerdfont-v3 (#2217)Roman Perepelitsa2023-04-021-0/+135
| | | | This is Step 1 of https://github.com/romkatv/powerlevel10k/issues/2217#issuecomment-1493271666.
* 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-162-0/+18
|
* 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")
* don't invoke mktemp if it doesn't existRoman Perepelitsa2022-11-281-1/+4
|
* don't invoke mktemp if it doesn't existRoman Perepelitsa2022-11-271-3/+6
|
* 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.
* wizad: add a hint pointing to the frame when asking for frame colorRoman Perepelitsa2022-11-141-4/+20
|
* 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-092-13/+22
|
* Merge branch 'master' of github.com:brent-moffit/powerlevel10k into ↵Roman Perepelitsa2022-10-082-0/+22
|\ | | | | | | 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-032-0/+20
| | | | | | | | Adds the `arch` prompt to `p10k.zsh`, `ARCH_ICON` to `icons.zsh`, and commented entries in the default configs
* | fix a bug introduced in cf1b58651505a3d5799a7f6bb5b8ce964c729c51Roman Perepelitsa2022-10-051-1/+1
| |
* | fix bugs introduced in 843dcf016710a4fe39f8ad65da2929f9128436fdRoman Perepelitsa2022-10-052-6/+6
| |
* | survive broken FPATH (#10Roman Perepelitsa2022-10-022-12/+11
| |
* | 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-212-3/+16
| | | | | | | | 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
| |
* | feature: added perlbrewLucas Burns2022-02-271-0/+20
| |
* | bug fix: correctly parse kubectl config when current-context has ↵Roman Perepelitsa2022-02-141-1/+1
|/ | | | metacharacters (#1767)
* fix shell integration with kittyv1.16.1kittyRoman Perepelitsa2022-02-011-0/+26
|