Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lambda-pure.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down