There is ONE correct $PROMPT variable, which is ": %n@%m %~ ; ".
It allows itself to be copied and pasted safely while being ignored by the shell, so copying a whole line from one place to another is a simple triple-click, cmd-c (or ctrl-c, meta-c, whatever.)
Thank you.
about 1 month ago