Skip to content

Commit

Permalink
Ensure prompt_subst is unset when the expanded preprompt is stored (#305
Browse files Browse the repository at this point in the history
)
  • Loading branch information
belak authored and mafredri committed Mar 18, 2017
1 parent 291574e commit e6b8dbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pure.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ prompt_pure_preprompt_render() {

# redraw prompt (also resets cursor position)
zle && zle .reset-prompt

setopt no_prompt_subst
fi

# store both unexpanded and expanded preprompt for comparison
Expand Down

0 comments on commit e6b8dbf

Please sign in to comment.