~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
459c9fb
)
bash_profile: Use `mg' as default editor, if it's available.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 30 Jan 2008 12:17:28 +0000
(12:17 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 31 Jan 2008 13:55:43 +0000
(13:55 +0000)
It starts up so much faster than Emacs, and using it isn't much of a
hardship.
bash_profile
patch
|
blob
|
blame
|
history
diff --git
a/bash_profile
b/bash_profile
index
3da56a8
..
bc812d6
100644
(file)
--- a/
bash_profile
+++ b/
bash_profile
@@
-105,7
+105,7
@@
export QMAILINJECT=c
# --- Find a text editor ---
export MDW_EDITOR=ed
-for ed in "emacs21 -nw" "emacs -nw" vi pico nano ae; do
+for ed in
mg
"emacs21 -nw" "emacs -nw" vi pico nano ae; do
name=`echo $ed | sed 's/ .*$//'`
if __mdw_programp "$name"; then
MDW_EDITOR=$ed