File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ prompt_pure_preprompt_render() {
153153 # NodeJS version
154154 local rpreprompt
155155 if (( ${PURE_NODE_ENABLED:- 1} )) ; then
156- rpreprompt+=" %F{green}⬢ ${prompt_pure_node_version} %f"
156+ rpreprompt+=" %F{green}${PURE_NODE_SYMBOL := ⬢} ${prompt_pure_node_version} %f"
157157 fi
158158
159159 integer preprompt_left_length preprompt_right_length space_length
Original file line number Diff line number Diff line change @@ -111,6 +111,10 @@ Defines the git up arrow symbol. The default value is `▲`.
111111
112112Defines the git dirty symbol. The default value is ` × ` .
113113
114+ ### ` PURE_NODE_SYMBOL `
115+
116+ Defines the NodeJS symbol. The default value is ` ⬢ ` .
117+
114118### ` PURE_NODE_ENABLED `
115119
116120Set ` PURE_NODE_ENABLED=0 ` to not display the NodeJS version.
You can’t perform that action at this time.
0 commit comments