[OS X TeX] path before prompt

M A markoilcan at gmail.com
Sun Feb 17 22:48:12 CET 2008


On Feb 17, 2008 10:15 AM, Doris Wagner <doris.wagner at mac.com> wrote:
> hi list,
>
> on my old mac, in the terminal before the prompt there was always the
> whole path (starting with home). on 10.5 there is only the name of the
> actual directory. how can I change this behaviour?
>

Set the PS1 environment variable, if you are using bash. For instance put
the following line in .bash_profile

export PS1=[\w] Now what??

Customize to suit your taste. For more info try googling 'PS1 bash'.

Mark A
 
-------------------------- Helpful Info --------------------------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
List Archive: http://tug.org/pipermail/macostex-archives/
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/



More information about the macostex-archives mailing list