Use full path to emacs for EDITOR and add -nw (no window) to alias in bashrc.
authorW. Trevor King <wking@drexel.edu>
Wed, 26 Nov 2008 13:31:04 +0000 (08:31 -0500)
committerW. Trevor King <wking@drexel.edu>
Wed, 26 Nov 2008 13:31:04 +0000 (08:31 -0500)
_bashrc

diff --git a/_bashrc b/_bashrc
index 550c9cc9c128c070d9c960104207d2f841ec085c..4a081bc24265629de83453083e117190d7f63a19 100644 (file)
--- a/_bashrc
+++ b/_bashrc
@@ -84,7 +84,7 @@ alias less='less -R'
 alias lp='/usr/bin/lp -o sides=two-sided-long-edge -o media=letter -o cpi=16 -o lpi=10'
 alias lpb='/usr/bin/lp -o sides=two-sided-long-edge -o media=letter -o cpi=12 -o lpi=6'
 alias lpi='/usr/bin/lp -o fitplot'
-alias emacs='emacs'
+alias emacs='emacs -nw'
 alias xterm='xterm -fg white -bg black'
 alias w3mg='w3m http://www.google.com'
 alias calendar='calendar -A28'
@@ -125,7 +125,7 @@ if [ -f /etc/bash_completion ]; then
 fi
 
 # define default programs
-export EDITOR="emacs -nw"
+export EDITOR="/usr/bin/emacs -nw"
 export PAGER="less"
 
 # personalize path