~tomterl/zshorg

7fea1dd8c285b07129e4afad34766449873caa56 — Tom Regner a month ago 8150f04 master
Plugin management: Replace antibody with antidote
2 files changed, 10 insertions(+), 2 deletions(-)

M Makefile
M zshrc.org
M Makefile => Makefile +2 -2
@@ 10,8 10,8 @@ tangle:
			 (mapc (lambda (file) (find-file (expand-file-name file \"$(DIR)\")) (org-babel-tangle) (kill-buffer)) '($(FILES))))" 

externals: 
	antibody bundle < ${HOME}/.zsh.d/plugins.txt > ${HOME}/.zsh.d/plugins.sh
	zsh -i -c "antidote bundle < ${HOME}/.zsh.d/plugins.txt > ${HOME}/.zsh.d/plugins.sh"
update-externals:
	antibody update
	zsh -i -c "(antidote update) && true"

.PHONY: tangle externals update-externals

M zshrc.org => zshrc.org +8 -0
@@ 964,10 964,18 @@ molovo/revolver kind:path
zunit-zsh/zunit kind:path
#+END_SRC
*** source the generated shell-file
See ~Makefile~.

#+BEGIN_SRC sh :tangle ~/.zshrc
[ -f ~/.zsh.d/plugins.sh ] && source ~/.zsh.d/plugins.sh
#+END_SRC
*** antidot
#+begin_src sh :tangle ~/.zshrc
  [ -f ${HOME}/.antidote/antidote.zsh ] && source ${HOME}/.antidote/antidote.zsh
#+end_src

*** plugin keybindings

#+begin_src sh :tangle ~/.zshrc
  bindkey -M filterselect '^M' accept-search
#+end_src