summaryrefslogtreecommitdiff
path: root/.config/bash/rc.d
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-10-15 20:27:06 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-10-15 20:27:06 -0400
commit0ce7b10e4804e1cc5e7410ee0b9817889c7c721c (patch)
tree8fdbc3c24a1d89dae04e0cfe9239b647c7427af6 /.config/bash/rc.d
parent33febe8b8a5a6a237d6e3617f7c96e783a548378 (diff)
parent3515a46d330af1d09bf1e0b963c13a86c2dbe8a8 (diff)
Merge branch 'master' into thinkpenguin-par-2
Diffstat (limited to '.config/bash/rc.d')
-rw-r--r--.config/bash/rc.d/emacs.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/bash/rc.d/emacs.sh b/.config/bash/rc.d/emacs.sh
new file mode 100644
index 0000000..f484bbb
--- /dev/null
+++ b/.config/bash/rc.d/emacs.sh
@@ -0,0 +1,8 @@
+case "$TERM" in
+ eterm*)
+ SELECTED_EDITOR='emacsclient'
+ EDITOR=$SELECTED_EDITOR
+ VISUAL=$SELECTED_EDITOR
+ export SELECTED_EDITOR EDITOR VISUAL
+ :;;
+esac