summarylogtreecommitdiffstats
path: root/zsh-antidote.install
blob: 60e8f099b9876df6886111088b1a6dc49762660f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function info() {
  antidote_dir="/usr/share/antidote"
  echo "--------------------------------------------------"
  echo "antidote has been installed to $antidote_dir"
  echo "put this in your zshrc to use it!"
  echo "
  source '/usr/share/antidote/antidote.zsh'
  [[ ! -f \"\$ZDOTDIR/.zsh_plugins.zsh\" ]] && \\
    antidote bundle < \"\$ZDOTDIR/.zsh_plugins.txt\" > \"\$ZDOTDIR/.zsh_plugins.zsh\"
  source \"\$ZDOTDIR/.zsh_plugins.zsh\"
  "
  echo "--------------------------------------------------"
}

function post_install() {
  info
}