diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 25 |
1 files changed, 21 insertions, 4 deletions
@@ -279,10 +279,13 @@ enable as many segments as you like. It won't slow down your prompt or Zsh start | `luaenv` | lua environment from [luaenv](https://github.com/cehoffman/luaenv) | | `jenv` | java environment from [jenv](https://github.com/jenv/jenv) | | `plenv` | perl environment from [plenv](https://github.com/tokuhirom/plenv) | +| `phpenv` | php environment from [phpenv](https://github.com/phpenv/phpenv) | | `node_version` | [node.js](https://nodejs.org/) version | | `go_version` | [go](https://golang.org) version | | `rust_version` | [rustc](https://www.rust-lang.org) version | | `dotnet_version` | [dotnet](https://dotnet.microsoft.com) version | +| `php_version` | [php](https://www.php.net/) version | +| `laravel_version` | [laravel php framework](https://laravel.com/) version | | `kubecontext` | current [kubernetes](https://kubernetes.io/) context | | `terraform` | [terraform](https://www.terraform.io) workspace | | `aws` | [aws profile](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) | @@ -943,13 +946,26 @@ and replace mode respectively. When a command fails, the symbol turns red. *Lean `prompt_char` in it. *Rainbow* and *Classic* styles have it only in the two-line configuration without left frame. -If you value horizontal space or prefer minimalist aesthetics, disable *current time* and use *few -icons*. The extra icons enabled by the *many icons* option primarily serve decorative function. -Informative icons, such as background job indicator, will be shown either way. +If you value horizontal space or prefer minimalist aesthetics: + +- Use a monospace font, such as [the recommended font](#meslo-nerd-font-patched-for-powerlevel10k). + Non-monospace fonts require extra space after icons that are larger than a single column. +- Use Lean style. Compared to Classic and Rainbow, it saves two characters per prompt segment. +- Disable *current time* and *frame*. +- Use *few icons*. The extra icons enabled by the *many icons* option primarily serve decorative + function. Informative icons, such as background job indicator, will be shown either way. *Note*: You can run configuration wizard as many times as you like. Type `p10k configure` to try new prompt style. +### How to make Powerlevel10k look like robbyrussell Oh My Zsh theme? + +Use [this config]( + https://github.com/romkatv/powerlevel10k/blob/master/config/p10k-robbyrussell.zsh). + +You can either download it, save as `~/.p10k.zsh` and `source ~/.p10k.zsh` from `~/.zshrc`, or +source `p10k-robbyrussell.zsh` directly from your cloned `powerlevel10k` repository. + ### Can prompts for completed commands display error status for *those* commands instead of the commands preceding them? No. When you hit *ENTER* and the command you've typed starts running, its error status isn't yet @@ -1233,7 +1249,7 @@ It's almost always a bad idea to run `source ~/.zshrc`, whether you are using Po This command may result in random errors, misbehaving code and progressive slowdown of Zsh. If you've made changes to `~/.zshrc` or to files sourced by it, restart Zsh to apply them. The most -reliable way to do this is to type `exit` and then start start a new Zsh session. You can also use +reliable way to do this is to type `exit` and then start a new Zsh session. You can also use `exec zsh`. While not exactly equivalent to complete Zsh restart, this command is much more reliable than `source ~/.zshrc`. @@ -1469,6 +1485,7 @@ There are a few mitigation options for this issue. - [What is the relationship between Powerlevel9k and Powerlevel10k?](#what-is-the-relationship-between-powerlevel9k-and-powerlevel10k) - [Does Powerlevel10k always render exactly the same prompt as Powerlevel9k given the same config?](#does-powerlevel10k-always-render-exactly-the-same-prompt-as-powerlevel9k-given-the-same-config) - [What is the best prompt style in the configuration wizard?](#what-is-the-best-prompt-style-in-the-configuration-wizard) + - [How to make Powerlevel10k look like robbyrussell Oh My Zsh theme?](#how-to-make-powerlevel10k-look-like-robbyrussell-oh-my-zsh-theme) - [Can prompts for completed commands display error status for *those* commands instead of the commands preceding them?](#can-prompts-for-completed-commands-display-error-status-for-those-commands-instead-of-the-commands-preceding-them) - [Is there an AUR package for Powerlevel10k?](#is-there-an-aur-package-for-powerlevel10k) - [What is the minimum supported Zsh version?](#what-is-the-minimum-supported-zsh-version) |