Skip to content

Commit

Permalink
🐛 fix: don't use universal scope by default
Browse files Browse the repository at this point in the history
  • Loading branch information
gazorby committed Apr 13, 2020
1 parent 0d60120 commit 832691a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions conf.d/abbr_tips.fish
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ 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
if ! set -q ABBR_TIPS_PROMPT; set -gx ABBR_TIPS_PROMPT "\n💡 \e[1m{{ .abbr }}\e[0m => {{ .cmd }}"; end
if ! set -q ABBR_TIPS_AUTO_UPDATE; set -gx ABBR_TIPS_AUTO_UPDATE 'background'; end

function abbr_fish --on-event fish_postexec -d "Abbreviation reminder for the current command"
set -l command (string split ' ' "$argv")
Expand Down
4 changes: 2 additions & 2 deletions functions/abbr_tips_update.fish
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
function abbr_tips_update -d "Update abbreviations variables for fish-abbr-tips"
set -e _ABBR_TIPS_KEYS
set -e _ABBR_TIPS_VALUES
set -Ux _ABBR_TIPS_KEYS
set -Ux _ABBR_TIPS_VALUES
set -gx _ABBR_TIPS_KEYS
set -gx _ABBR_TIPS_VALUES

set -l i 1
set -l abb (string replace -r '.*-- ' '' (abbr -s))
Expand Down

0 comments on commit 832691a

Please sign in to comment.