summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorLuke Shumaker <luke@build-u904-AMD64.(none)>2011-05-13 11:05:26 -0400
committerLuke Shumaker <luke@build-u904-AMD64.(none)>2011-05-13 11:05:26 -0400
commit43f45210630f6491b52af46bc7e85693a3961709 (patch)
tree65f0f5482f677d4cc0fa7075e13f45f596c9b5c6 /.profile
parent8f31af55544adbf7530f1581a828856a68c8d1b6 (diff)
Make it so that editor can be called without a filename or other argument
Diffstat (limited to '.profile')
-rw-r--r--.profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/.profile b/.profile
index 8808917..07fa59a 100644
--- a/.profile
+++ b/.profile
@@ -25,6 +25,7 @@ fi
if [ -f "$HOME/.selected_editor" ]; then
. "$HOME/.selected_editor"
export SELECTED_EDITOR
+ export ALTERNATE_EDITOR
export EDITOR="${EDITOR:-$SELECTED_EDITOR}"
export VISUAL="${VISUAL:-$SELECTED_EDITOR}"
fi