Skip to content

Commit

Permalink
Fix #139
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmc3 committed Jul 7, 2023
1 parent 218b041 commit be9eeb0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions functions/__antidote_core
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/zsh

### For compatibility with antidote versions <= 1.8.8
### TODO: remove sometime after 2023-09-30: https://github.com/mattmc3/antidote/issues/139
### Setup antidote.
#function __antidote_core {
typeset -f __antidote_setup &>/dev/null && unfunction __antidote_setup
0=${(%):-%x}
autoload -Uz ${0:A:h}/__antidote_setup
__antidote_setup
#}

0 comments on commit be9eeb0

Please sign in to comment.