summaryrefslogtreecommitdiff
path: root/.config/bash/rc.d/emacs.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-10-10 01:20:24 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-10-15 20:04:32 -0400
commit34a6c23f99988a75729b04880824b8d79d1391a2 (patch)
tree188dfe887d233700f1c88d997fd5e6267d3a8317 /.config/bash/rc.d/emacs.sh
parent1557b290b98286d8c44ea066b64cc0910eecc0f7 (diff)
Use XDG for bash, remove alsa, clean up bash & profile, add CACHEDIR.TAG
.profile: fix up
Diffstat (limited to '.config/bash/rc.d/emacs.sh')
-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