$echo $PS1
\u@\hw\$\[\e]0;\w\007\]
I have the above variable defined (in bash), which shows path in the tab title and the path, user, machine name in the command line prompt. However, when the path become longer than the terminal width, what I type after the prompt doesn't show properly. The same PS1 definition works fine in ubuntu gnome-terminal. Does anybody know how should I modify PS1 for mac terminal?
\u@\hw\$\[\e]0;\w\007\]
I have the above variable defined (in bash), which shows path in the tab title and the path, user, machine name in the command line prompt. However, when the path become longer than the terminal width, what I type after the prompt doesn't show properly. The same PS1 definition works fine in ubuntu gnome-terminal. Does anybody know how should I modify PS1 for mac terminal?