mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
add nix_shell prompt segment; see #448
This commit is contained in:
parent
0a4b832b25
commit
73878f398a
6 changed files with 63 additions and 1 deletions
|
|
@ -124,6 +124,7 @@ function _p9k_init_icons() {
|
|||
PERL_ICON 'perl'
|
||||
NNN_ICON 'nnn'
|
||||
TIMEWARRIOR_ICON 'tw'
|
||||
NIX_SHELL_ICON 'nix'
|
||||
)
|
||||
;;
|
||||
'awesome-fontconfig')
|
||||
|
|
@ -235,6 +236,7 @@ function _p9k_init_icons() {
|
|||
PERL_ICON 'perl'
|
||||
NNN_ICON 'nnn'
|
||||
TIMEWARRIOR_ICON 'tw'
|
||||
NIX_SHELL_ICON 'nix'
|
||||
)
|
||||
;;
|
||||
'awesome-mapped-fontconfig')
|
||||
|
|
@ -350,6 +352,7 @@ function _p9k_init_icons() {
|
|||
PERL_ICON 'perl'
|
||||
NNN_ICON 'nnn'
|
||||
TIMEWARRIOR_ICON 'tw'
|
||||
NIX_SHELL_ICON 'nix'
|
||||
)
|
||||
;;
|
||||
'nerdfont-complete'|'nerdfont-fontconfig')
|
||||
|
|
@ -462,6 +465,7 @@ function _p9k_init_icons() {
|
|||
PERL_ICON '\uE769' #
|
||||
NNN_ICON 'nnn'
|
||||
TIMEWARRIOR_ICON '\uF132' #
|
||||
NIX_SHELL_ICON '\uF313' #
|
||||
)
|
||||
;;
|
||||
*)
|
||||
|
|
@ -573,6 +577,7 @@ function _p9k_init_icons() {
|
|||
PERL_ICON 'perl'
|
||||
NNN_ICON 'nnn'
|
||||
TIMEWARRIOR_ICON 'tw'
|
||||
NIX_SHELL_ICON 'nix'
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue