projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d40490b
)
tossing VISUAL as being different from EDITOR, since this causes problems on assorted
author
Chris Koeritz
<fred@gruntose.com>
Wed, 14 Mar 2012 17:35:19 +0000
(13:35 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Wed, 14 Mar 2012 17:35:19 +0000
(13:35 -0400)
platforms when gvim doesn't wait for the editing to be finished.
examples/custom_overrides/fred/fred_variables.sh
patch
|
blob
|
history
diff --git
a/examples/custom_overrides/fred/fred_variables.sh
b/examples/custom_overrides/fred/fred_variables.sh
index e22f2b93d15d7057d93b4635e1110f595fa74649..682d7d65cae92aed2dddacd67c12af583669fc7b 100644
(file)
--- a/
examples/custom_overrides/fred/fred_variables.sh
+++ b/
examples/custom_overrides/fred/fred_variables.sh
@@
-36,11
+36,8
@@
if [ -z "$NETHACKOPTIONS" ]; then
export BROWSER=/usr/bin/firefox
# editor and other mixed settings...
- export VISUAL="$(which gvim)"
- if [ $? -ne 0 ]; then
- export VISUAL="$(which vi)"
- fi
export EDITOR="$(which vi)"
+ export VISUAL="$EDITOR"
# the editors for revision control must wait while document is edited,
# so gvim and others launched to x window are not appropriate.
export GIT_EDITOR="$EDITOR"