aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
Commit message (Collapse)AuthorAgeFilesLines
* Add rocky iconMarkus Kurtz2023-07-251-0/+1
|
* new segment: per_directory_history (#2384)Roman Perepelitsa2023-07-251-1/+26
|
* unquote ID in /etc/os-release (#2388)Roman Perepelitsa2023-07-251-1/+1
|
* unquote ID in /etc/os-release (#2388)Roman Perepelitsa2023-07-251-2/+2
|
* clean up the handling of POWERLEVEL9K_AZURE_CLASSES and put it in all ↵Roman Perepelitsa2023-07-111-7/+7
| | | | | | | configs (#2379) This reverts commit 343d4f44e524e9674ecfb6f0df9114563232b889, reversing changes made to 4dca4bdfbb118953b73a131f511094462165971d.
* fix pattern coloration for azure defined classesBEN MANSOUR Mohamed Rafik2023-07-101-0/+1
|
* bug fix: honor POWERLEVEL9K_LEFT_SEGMENT_END_SEPARATOR in instant prompt (#2376)Roman Perepelitsa2023-07-091-2/+9
|
* release v1.19.0v1.19.0Roman Perepelitsa2023-06-231-1/+1
|
* respect XDG_DATA_HOME when looking for the timewarrior data directory (#2344)Roman Perepelitsa2023-06-151-1/+4
| | | | | | | | | | | The logic for finding the data directory is as follows: 1. Find the root directory: 1.1 If TIMEWARRIORDB is set, use that. 1.2 Else if ~/.timewarrior is an existing directory, use that. 1.3 Else if XDG_DATA_HOME is set, use $XDG_DATA_HOME/timewarrior. 1.4 Else use ~/.local/share/timewarrior. 2. Append "/data" to the root directory.
* fix chezmoi segment and rename it to chezmoi_shell (#2311)Roman Perepelitsa2023-06-111-8/+6
| | | | | | | | | | | | | - Link to the project's homepage rather than its source code. - Move `chezmoi_shell` next to all the other *shell indicator* segments. - Use a shade of blue that resembes the color on chezmoi.io. - Don't go beyond 8 colors in 8-color configs. - Remove the segment from the *pure* config. - Fix whitespace padding on `CHEZMOI_ICON`. - Use the appropriate icon with all fonts (the same as `HOME`). - Add missing `CHEZMOI_ICON` definitions for "powerline" and "ascii" font modes. - Remove the redundant literal "chezmoi" content from the segment. - Fix instant prompt so that the segment is shown only when `$CHEZMOI` is non-empty.
* Merge branch 'feat/add-chezmoi-prompt' of ↵Roman Perepelitsa2023-06-111-0/+15
|\ | | | | | | https://github.com/Alkindi42/powerlevel10k into Alkindi42-feat/add-chezmoi-prompt
| * feat(chezmoi): add instant_prompt_chezmoiAlkindi422023-06-101-0/+4
| |
| * feat: add chezmoi iconAlkindi422023-05-211-1/+1
| |
| * chezmoi: add chezmoi promptAlkindi422023-05-181-0/+11
| |
* | Merge branch 'warp'Roman Perepelitsa2023-05-271-2/+13
|\ \ | |/ |/|
| * set P9K_VERSION (#2307)Roman Perepelitsa2023-05-171-1/+2
| |
| * force shell integration when running under warp (#2307)Roman Perepelitsa2023-05-161-0/+2
| |
| * annotate right prompt for warp (#2307)Roman Perepelitsa2023-05-161-2/+10
| |
* | show the right cwd when some part of it gets renamed (#2304)Roman Perepelitsa2023-05-161-1/+1
|/
* 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
|