summarylogtreecommitdiffstats
path: root/yasnippet.install
blob: 2f6fb776ad84456ed0f097d06c3910bb77d3786b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  echo " add the following in your .emacs file:"
  echo " (add-to-list 'load-path \"/usr/share/emacs/site-lisp/yas\")"
  echo " (add-to-list 'load-path \"~/.emacs.d/plugins/yasnippet\") ;; and create that directory"
  echo " (require 'yasnippet) ;; not yasnippet-bundle"
  echo " (yas-global-mode 1)"
}

post_upgrade() {
   post_install  
}
pre_remove() {
   echo "If you like remove the yasnippet stuff from your .emacs and the directory \"~/.emacs.d/plugins/yasnippet\""
}