diff options
author | Stefan Husmann | 2015-06-09 00:24:34 +0200 |
---|---|---|
committer | Stefan Husmann | 2015-06-09 00:24:34 +0200 |
commit | 55764f9e5e769fbd135be7627677e087824cf784 (patch) | |
tree | 445dc3b963a8b5c1d3ba1b5545655f003540c9c5 /yasnippet.install | |
download | aur-55764f9e5e769fbd135be7627677e087824cf784.tar.gz |
initial version
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 |