mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
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.
This commit is contained in:
parent
5f08c5493f
commit
4a4f7e1eef
4 changed files with 42 additions and 2 deletions
|
|
@ -113,6 +113,7 @@ function _p9k_init_icons() {
|
|||
RANGER_ICON '\u2B50' # ⭐
|
||||
TERRAFORM_ICON '\U1F6E0\u00A0' # 🛠️
|
||||
PROXY_ICON '\u2B82' # ⮂
|
||||
DOTNET_ICON '.NET'
|
||||
)
|
||||
;;
|
||||
'awesome-fontconfig')
|
||||
|
|
@ -213,6 +214,7 @@ function _p9k_init_icons() {
|
|||
RANGER_ICON '\u2B50' # ⭐
|
||||
TERRAFORM_ICON '\U1F6E0\u00A0' # 🛠️
|
||||
PROXY_ICON '\u2B82' # ⮂
|
||||
DOTNET_ICON '.NET'
|
||||
)
|
||||
;;
|
||||
'awesome-mapped-fontconfig')
|
||||
|
|
@ -317,6 +319,7 @@ function _p9k_init_icons() {
|
|||
RANGER_ICON '\u2B50' # ⭐
|
||||
TERRAFORM_ICON '\U1F6E0\u00A0' # 🛠️
|
||||
PROXY_ICON '\u2B82' # ⮂
|
||||
DOTNET_ICON '.NET'
|
||||
)
|
||||
;;
|
||||
'nerdfont-complete'|'nerdfont-fontconfig')
|
||||
|
|
@ -418,6 +421,7 @@ function _p9k_init_icons() {
|
|||
RANGER_ICON '\u2B50' # ⭐
|
||||
TERRAFORM_ICON '\U1F6E0\u00A0' # 🛠️
|
||||
PROXY_ICON '\u2B82' # ⮂
|
||||
DOTNET_ICON '\uE77F' #
|
||||
)
|
||||
;;
|
||||
*)
|
||||
|
|
@ -518,6 +522,7 @@ function _p9k_init_icons() {
|
|||
RANGER_ICON '\u2B50' # ⭐
|
||||
TERRAFORM_ICON '\U1F6E0\u00A0' # 🛠️
|
||||
PROXY_ICON '\u2B82' # ⮂
|
||||
DOTNET_ICON '.NET'
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue