O que devo digitar no meu .bashlogin para ocultar meu computador e meu diretório pessoal?

1

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?

    
por studiohack 07.09.2010 / 20:12

2 respostas

4

PS1="mymacbook:\w hello$ "

Veja a seção PROMPTING de man bash

    
por 07.09.2010 / 20:17
0

Solicitar mágica

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.

    
por 08.09.2010 / 02:50