Skip to content

Commit 1cc43e0

Browse files
committedApr 13, 2020
🐛 fix: prompt variable not properly set
1 parent 4681009 commit 1cc43e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎conf.d/abbr_tips.fish

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ bind \r '_abbr_tips_bind_newline'
55
set -l uninstall (basename (status -f) .fish){_uninstall}
66

77
set -g _abbr_tips_used 0
8+
if ! set -q ABBR_TIPS_PROMPT; set -Ux ABBR_TIPS_PROMPT "\n💡 \e[1m{{ .abbr }}\e[0m => {{ .cmd }}"; end
89
if ! set -q ABBR_TIPS_AUTO_UPDATE; set -Ux ABBR_TIPS_AUTO_UPDATE 'background'; end
910

1011
function abbr_fish --on-event fish_postexec -d "Abbreviation reminder for the current command"

0 commit comments

Comments
 (0)