Skip to content

Commit

Permalink
Move prompt customization save instructions to start of that section
Browse files Browse the repository at this point in the history
  • Loading branch information
rkeithhill committed May 21, 2019
1 parent 5a581a7 commit 8d6ec0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ You can customize the posh-git prompt function or define your own custom prompt
The rest of this section covers how to customize posh-git's prompt function using the global variable
`$GitPromptSettings`.

**If you'd like to make any of following changes permanent, i.e. available whenever you start PowerShell, put the
corresponding setting(s) in one of your profile scripts after the line that imports posh-git.**

For instance, you can customize the default prompt prefix to display a colored timestamp with these settings:

```text
Expand Down Expand Up @@ -354,9 +357,6 @@ This will change the prompt to:

![[master ≡] ~\GitHub\posh-git
02-18 14:04:35 38> ][prompt-custom]

If you'd like to make any of these changes permanent, i.e. available whenever you start PowerShell, put the
corresponding setting(s) in one of your profile scripts **after** the line that imports posh-git.

For reference, the following layouts show the relative position of the various parts of the posh-git prompt.
Note that `<>` denotes parts of the prompt that may not appear depending on the status of settings and whether or not
the current dir is in a Git repository.
Expand Down

0 comments on commit 8d6ec0b

Please sign in to comment.