diff --git a/lambda-pure.zsh b/lambda-pure.zsh index dc3a0524..fda0ceae 100644 --- a/lambda-pure.zsh +++ b/lambda-pure.zsh @@ -153,7 +153,7 @@ prompt_pure_preprompt_render() { # NodeJS version local rpreprompt if (( ${PURE_NODE_ENABLED:-1} )); then - rpreprompt+="%F{green}⬢ ${prompt_pure_node_version}%f" + rpreprompt+="%F{green}${PURE_NODE_SYMBOL:=⬢} ${prompt_pure_node_version}%f" fi integer preprompt_left_length preprompt_right_length space_length diff --git a/readme.md b/readme.md index cf807223..84b44090 100644 --- a/readme.md +++ b/readme.md @@ -111,6 +111,10 @@ Defines the git up arrow symbol. The default value is `▲`. Defines the git dirty symbol. The default value is `×`. +### `PURE_NODE_SYMBOL` + +Defines the NodeJS symbol. The default value is `⬢`. + ### `PURE_NODE_ENABLED` Set `PURE_NODE_ENABLED=0` to not display the NodeJS version.