scm-prompt: documentation update

Test Plan: eyeballs

Reviewers: #sourcecontrol, ttung, zamsden

Reviewed By: zamsden

Subscribers: mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D3597338

Signature: t1:3597338:1469073473:ead7a60fc01e099e8d631b19e3110fa91c6001af
This commit is contained in:
Ryan McElroy 2016-07-22 16:31:51 -07:00
parent bc6e0f3097
commit 5b650eac6c

View File

@ -23,13 +23,13 @@
# then the prompt won't change when you chdir or checkout different
# branches!
#
# . /path/to/scm-prompt
# setopt PROMPT_SUBST
# source /path/to/scm-prompt
# export PS1='$(_scm_prompt)$USER@%m:%~%% '
#
# To use from bash:
#
# . /path/to/scm-prompt
# source /path/to/scm-prompt
# export PS1="\$(_scm_prompt)\u@\h:\W\$ "
#
# NOTE! You *EITHER* need to single-quote the whole thing *OR* back-slash