Use \012 instead of \n in PS1 to avoid errors on Windows
This commit is contained in:
parent
92a83779d9
commit
c71c875e8f
@ -155,8 +155,8 @@ PS1="${PS1} $(ps-color bold cyan)\w"
|
|||||||
PS1="${PS1}$(ps-color bold blue)\$(prompt_ps1_job_count \\j)"
|
PS1="${PS1}$(ps-color bold blue)\$(prompt_ps1_job_count \\j)"
|
||||||
# shell level
|
# shell level
|
||||||
PS1="${PS1}$(ps-color bold green)\$(prompt_ps1_shlvl)"
|
PS1="${PS1}$(ps-color bold green)\$(prompt_ps1_shlvl)"
|
||||||
# \n
|
# \n: \012 used instead to avoid errors on Windows
|
||||||
PS1="${PS1}$(ps-color reset)\n"
|
PS1="${PS1}$(ps-color reset)\012"
|
||||||
# rvm gemset
|
# rvm gemset
|
||||||
PS1="${PS1}$(ps-color bold green)\$(prompt_ps1_rvm_gemset)"
|
PS1="${PS1}$(ps-color bold green)\$(prompt_ps1_rvm_gemset)"
|
||||||
# git/svn info
|
# git/svn info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user