Skip to content

Commit

Permalink
πŸ“ docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gazorby committed Apr 13, 2020
1 parent f7a2ccc commit 4f4122b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,18 @@ Tips are updated at every shell startup (see [behind the scenes](#-behind-the-sc

### Tips prompt

`ABBR_TIPS_PROMPT`

By default, tips will showing up like this :

```console
πŸ’‘ ga => git add
```

But you customize it using the `ABBR_TIPS_PROMPT` environment variable. The plugin will replace `{{ .abbr }}` with the abbreviation and `{{ .cmd }}` with the corresponding command.
But you customize it using the prompt environment variable. The plugin will replace `{{ .abbr }}` with the abbreviation and `{{ .cmd }}` with the corresponding command.


This is the default value for `ABBR_TIPS_PROMPT` :
This is the default :

`"\nπŸ’‘ \e[1m{{ .abbr }}\e[0m => {{ .cmd }}"`

Expand Down

0 comments on commit 4f4122b

Please sign in to comment.