Friday 15 April 2011

osx - Long commands wrapping in terminal -


I am using a custom prompt from my bash_profile and when I type long commmands in the terminal, instead they Wrap on the same line, what's going on with a new one?

  cyan = '\ e [0; 36m '# Cyan Exports PS1 = "$ {Cyan} \ w $ \ e    

You \ [ and \] :

  PS1 = '\ [\ e [0; 36m] \ w $ \ [\ e [m]] '   

No comments:

Post a Comment