From 4f4122ba552417cd116c6ef0d5c45fda2d84e3a3 Mon Sep 17 00:00:00 2001 From: Gazorby Date: Mon, 13 Apr 2020 19:06:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20update=20readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2723342..deb9c87 100644 --- a/README.md +++ b/README.md @@ -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 }}"`