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=$?
|
local exit_code=$?
|
||||||
|
|
||||||
# Clean up if fresh is no longer the current prompt theme
|
# 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
|
add-zsh-hook -d precmd fresh_line_one
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user