Prevent % from showing on unfinished lines
This commit is contained in:
4
pure.zsh
4
pure.zsh
@@ -77,6 +77,10 @@ prompt_pure_precmd() {
|
|||||||
|
|
||||||
|
|
||||||
prompt_pure_setup() {
|
prompt_pure_setup() {
|
||||||
|
# prevent percentage showing up
|
||||||
|
# if output doesn't end with a newline
|
||||||
|
export PROMPT_EOL_MARK=''
|
||||||
|
|
||||||
prompt_opts=(cr subst percent)
|
prompt_opts=(cr subst percent)
|
||||||
|
|
||||||
autoload -Uz add-zsh-hook
|
autoload -Uz add-zsh-hook
|
||||||
|
|||||||
Reference in New Issue
Block a user