summarylogtreecommitdiffstats
path: root/yasnippet.install
diff options
context:
space:
mode:
authorStefan Husmann2015-06-09 00:24:34 +0200
committerStefan Husmann2015-06-09 00:24:34 +0200
commit55764f9e5e769fbd135be7627677e087824cf784 (patch)
tree445dc3b963a8b5c1d3ba1b5545655f003540c9c5 /yasnippet.install
downloadaur-55764f9e5e769fbd135be7627677e087824cf784.tar.gz
initial version
Diffstat (limited to 'yasnippet.install')
-rw-r--r--yasnippet.install14
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