[OS X TeX] path before prompt

Roussanka Loukanova rloukano at stp.lingfil.uu.se
Mon Feb 18 19:00:55 CET 2008


On Mon, 18 Feb 2008, Doris Wagner wrote:

> on 10.5, there is how i did it:
> the file /etc/bashrc is now exactly the following (except the line numbers):
>
>  1 # System-wide .bashrc file for interactive bash(1) shells.
>  2 if [ -z "$PS1" ]; then
>  3    return
>  4 fi
>  5
>  6 PS1='\t\w\$ '
>  7 # Make bash check its window size after a process completes
>  8 shopt -s checkwinsize
>
> that is, I changed line 6 in the file bashrc which is located in /etc
> even shorter would be

Thanks. It seems that /etc/bashrc is the place to reset the prompt if 
one wants the change in all accounts on the machine, incl. the root.

Roussanka

>
> PS1='\w'
>
>
> greetings
> dw
> ~ 
> ~ 
> ~ 
> ~ 
> ~ 
> ~ 
> ~ 
> ~ 
> ~ 
> ~ 
> ~ 
> ~ 
> ~ 
> ~ 
> ~ 
> "bashrc" [readonly] 8L, 192C
>
>



More information about the macostex-archives mailing list