Make sure prompt_cr is set

Fixes #511
This commit is contained in:
Kaleb Elwert 2017-05-03 11:58:14 -07:00
parent 954c8697e7
commit 39eea0479d

View file

@ -1339,7 +1339,7 @@ prompt_powerlevel9k_setup() {
# returns. We need prompt_subst so we can safely run commands in the prompt # returns. We need prompt_subst so we can safely run commands in the prompt
# without them being double expanded and we need prompt_percent to expand the # without them being double expanded and we need prompt_percent to expand the
# common percent escape sequences. # common percent escape sequences.
prompt_opts=(subst percent) prompt_opts=(subst percent cr)
# Borrowed from promptinit, sets the prompt options in case the theme was # Borrowed from promptinit, sets the prompt options in case the theme was
# not initialized via promptinit. # not initialized via promptinit.