diff --git a/prompt_fresh_setup b/prompt_fresh_setup index 15a47f4..7a139f2 100644 --- a/prompt_fresh_setup +++ b/prompt_fresh_setup @@ -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