blob: 2609352b7eab66e2564ea64d4a5da0c7f4fd76b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
post_install() {
echo ""
echo "To enable auto-loading of ipython-mode, add these lines to your .emacs file:"
echo ""
echo "(autoload 'python-mode \"python-mode.el\" \"Python mode.\" t)"
echo "(setq auto-mode-alist (append '((\"/*.\.py$\" . python-mode)) auto-mode-alist))"
echo '(setq ipython-command "/usr/bin/ipython")'
echo '(setq py-python-command "/usr/bin/ipython")'
echo "(require 'ipython)"
echo ""
}
post_upgrade() {
post_install
}
|