diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-09-24 11:17:54 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-09-24 11:19:11 +0300 |
commit | 4a4f7e1eef960881661276ab382f1bc5a5bb46a3 (patch) | |
tree | 7e55921493b2742e6c2c81ee2bafec030b1809ea /config/p10k-lean.zsh | |
parent | 5f08c5493f78f3dcacc3877d1b8064a58515c48c (diff) |
new prompt segment: dotnet_version
To enable this segment:
1. Run `p10k configure`.
2. Open `~/.p10k.zsh` and search for `dotnet_version`.
3. Uncomment the first occurrence.
Fixes #233.
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r-- | config/p10k-lean.zsh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index d6a7af92..fa69892d 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -53,6 +53,7 @@ # node_version # node.js version # go_version # go version (https://golang.org) # rust_version # rustc version (https://www.rust-lang.org) + # dotnet_version # .NET version (https://dotnet.microsoft.com) rbenv # ruby version from rbenv (https://github.com/rbenv/rbenv) rvm # ruby version from rvm (https://rvm.io) kubecontext # current kubernetes context (https://kubernetes.io/) @@ -554,6 +555,14 @@ # Custom icon. # typeset -g POWERLEVEL9K_RUST_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + ###############[ dotnet_version: .NET version (https://dotnet.microsoft.com) ]################ + # .NET version color. + typeset -g POWERLEVEL9K_DOTNET_VERSION_FOREGROUND=134 + # Show .NET version only when in a .NET project subdirectory. + typeset -g POWERLEVEL9K_DOTNET_VERSION_PROJECT_ONLY=true + # Custom icon. + # typeset -g POWERLEVEL9K_DOTNET_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + #############[ rbenv: ruby version from rbenv (https://github.com/rbenv/rbenv) ]############## # Rbenv color. typeset -g POWERLEVEL9K_RBENV_FOREGROUND=168 |