
In zsh shell, if the output ends without a new line, zsh will by default print a highlighted % sign at the end.
This can be controlled with PROMPT_EOL_MARK environment variable:
export PROMPT_EOL_MARK=''By adding this to your zsh shell config file, the % symbol disappears.