Fix fresh prompt cleanup when options were specified
This commit is contained in:
parent
fda79768b7
commit
3be19a22a0
@ -64,7 +64,7 @@ fresh_line_one() {
|
||||
local exit_code=$?
|
||||
|
||||
# Clean up if fresh is no longer the current prompt theme
|
||||
if [[ "`prompt -c | tail -1 | xargs`" != "fresh" ]]; then
|
||||
if [[ "`prompt -c | tail -1 | xargs`" != "fresh"* ]]; then
|
||||
add-zsh-hook -d precmd fresh_line_one
|
||||
return
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user