On Thursday 24 April 2003 19:18, Christopher Mahmood poked randomly at a keyboard and came up with:
* Hans-Georg Lerdo (hg@lerdo.de) [030424 10:58]:
Is there a way to switch off the display of the working directory in a shell prompt?
Sure, export PS1='$ ' if you want to be really traditional. See bash(1) for more on setting the PS* variables.
Indeed, one which I tend to favour is ... export PS1="\[\e]0;\w\a\]$ " which gives the traditional "$ " prompt, but with the working directory in the window title. Of course, it's not much good in a text-only mode... -- ___ _ __ Public Key @ www.eon.demon.co.uk/keane.asc / __| ___ __ _ _ _ | |/ /___ __ _ _ _ ___ \__ \/ -_) _` | ' \ | ' -_) _` | ' \/ -_) |___/\___\__,_|_||_| |_|\_\___\__,_|_||_\___|