chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7a8da4
)
Now that Emacs starts up pretty quick, favour it over lesser editors.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 3 Apr 2008 09:03:08 +0000
(10:03 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 3 Apr 2008 09:03:08 +0000
(10:03 +0100)
bash_profile
patch
|
blob
|
blame
|
history
diff --git
a/bash_profile
b/bash_profile
index 383acabf6f5ccf8bbca5a79e9375f7329ca55497..af9021f3cd0eef5fbf5f3b4bef830a3450e44358 100644
(file)
--- a/
bash_profile
+++ b/
bash_profile
@@
-92,7
+92,13
@@
export QMAILINJECT=c
# --- Find a text editor ---
export MDW_EDITOR=ed
-for ed in mg "emacs22 -nw" "emacs21 -nw" "emacs -nw" vi pico nano ae; do
+emacs_startup_args="--no-site-file --mdw-fast-startup -nw"
+for ed in \
+ "emacs22 $emacs_startup_args" \
+ "emacs21 $emacs_startup_args" \
+ mg \
+ "emacs -nw" \
+ vi pico nano ae; do
name=`echo $ed | sed 's/ .*$//'`
if __mdw_programp "$name"; then
MDW_EDITOR=$ed