PS1="mymacbook:\w hello$ "
Veja a seção PROMPTING de man bash
Se eu abrir meu aplicativo do Terminal no Mac OS X, será parecido com isso
tabalugas-macbook:~ tabaluga$
Eu quero personalizar esse shell, então o nome de usuário tabaluga não aparecerá. O Shell deve se parecer com isso
mymacbook:~ hello$
o que devo digitar?
PS1="mymacbook:\w hello$ "
Veja a seção PROMPTING de man bash
Why stick with the standard boring shell prompt when you can easily make it colorful and more informative? In this tip, Daniel Robbins will show you how to get your shell prompt just the way you like it, as well as how to dynamically update your X terminal's title bar.
Tags bash osx-leopard terminal