On Thu, Mar 09, 2006 at 12:34:56PM -0500, Joe Szilagyi wrote: > Hi, > > Have something I have tried to get working, unsuccessfully: > > PS1="\n\[`cat $HOME/file.txt`\] \n \@ \u@\h \w $ " > > Basically, wanting the bash prompt to always execute a command. Search for 'PROMPT_COMMAND" in the bash man page. FWIW, Fedora Core actually ships with a PROMPT_COMMAND set like this: $ echo $PROMPT_COMMAND echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007" Tim. */
Attachment:
pgpYYEEgfP07g.pgp
Description: PGP signature