OS X Terminal text stacking on top of itself

后端 未结 6 1889
夕颜
夕颜 2020-12-24 05:14

I\'m encountering a strange issue in the Terminal app in Mac OS X Lion. When I enter in a long line of text that should wrap to the next line when it reaches the edge of the

6条回答
  •  忘掉有多难
    2020-12-24 05:59

    With the guidance of hamstergene I was able to figure out how to make it play nice. Using this Geek Stuff guide and this It's Me Tommy tutorial, I was able to define how I wanted my PS1 text to display. Changing this to something much more simplified eliminated the weird overlapping text issue I was running into.

    Before:

    before

    After:

    after

    I simply edited my .bash_profile and added the following line:

    export PS1="[\u@\h] > ";
    

    Then I went and changed the window colors for good measure because I can.

提交回复
热议问题