From 1cc43e0776a16b0e9810889bead6e6bb9159b632 Mon Sep 17 00:00:00 2001 From: Gazorby Date: Mon, 13 Apr 2020 18:40:32 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20prompt=20variable=20not?= =?UTF-8?q?=20properly=20set?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf.d/abbr_tips.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/conf.d/abbr_tips.fish b/conf.d/abbr_tips.fish index 3249f2d..cb65920 100644 --- a/conf.d/abbr_tips.fish +++ b/conf.d/abbr_tips.fish @@ -5,6 +5,7 @@ bind \r '_abbr_tips_bind_newline' set -l uninstall (basename (status -f) .fish){_uninstall} set -g _abbr_tips_used 0 +if ! set -q ABBR_TIPS_PROMPT; set -Ux ABBR_TIPS_PROMPT "\n💡 \e[1m{{ .abbr }}\e[0m => {{ .cmd }}"; end if ! set -q ABBR_TIPS_AUTO_UPDATE; set -Ux ABBR_TIPS_AUTO_UPDATE 'background'; end function abbr_fish --on-event fish_postexec -d "Abbreviation reminder for the current command"