diff options
Diffstat (limited to 'yasnippet.install')
-rw-r--r-- | yasnippet.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/yasnippet.install b/yasnippet.install new file mode 100644 index 000000000000..8d40b7ac8523 --- /dev/null +++ b/yasnippet.install @@ -0,0 +1,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" +}
\ No newline at end of file |