mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
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:
parent
bc6e0f3097
commit
5b650eac6c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user