diff --git a/pure.zsh b/pure.zsh index 59cd13b..3c414c9 100644 --- a/pure.zsh +++ b/pure.zsh @@ -121,7 +121,7 @@ prompt_pure_setup() { [[ $UID -eq 0 ]] && prompt_pure_username='%F{white}%n%F{242}@%m ' # prompt turns red if the previous command didn't exit with 0 - PROMPT='%(?.%F{magenta}.%F{red})❯%f ' + PROMPT="%(?.%F{magenta}.%F{red})${PURE_PROMPT_SYMBOL:-❯}%f " } prompt_pure_setup "$@" diff --git a/readme.md b/readme.md index 787e97d..02d2077 100644 --- a/readme.md +++ b/readme.md @@ -89,6 +89,10 @@ Set `PURE_GIT_PULL=0` to prevent Pure from checking whether the current Git remo Set `PURE_GIT_UNTRACKED_DIRTY=0` to not include untracked files in dirtiness check. Only really useful on extremely huge repos like the WebKit repo. +### `PURE_PROMPT_SYMBOL` + +Defines the prompt symbol. The default value is `❯`. + ## Example ```sh