Benjamin A's PS1
Tom Willemsen
1b195b1562
According to the explanation found here: http://en.chys.info/2009/05/install-vs-cp-and-mmap/ , it is better to use `install' than `cp'. This is because, supposedly, `cp' opens the new file in write-only mode and just overwrites it, whereas `install' unlinks it first and then replaces it, making sure that running programs don't start acting strangely. |
||
---|---|---|
src | ||
README.org |
Benjamin A's PS1
To use it as it was intended put the following in your PS1
or
PROMPT
variable, depending on whether you use bash
or zsh
:
PS1="\$(/path/to/baps1)"
Or, if you like single quotes, use:
PS1='$(/path/to/baps1)'