about summary refs log tree commit diff
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-11-07 09:37:34 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-11-07 09:37:34 +0000
commite366ca8dbfb3d38e4bcbfa02965d6736a7e6bdca (patch)
treed7f7552cb4e0b1fe29e1fbf7fb34d47577d6ba1f /Src/builtin.c
parent78ace07e1604b4ffd990fea3066a9cfa2c6c5669 (diff)
downloadzsh-e366ca8dbfb3d38e4bcbfa02965d6736a7e6bdca.tar.gz
zsh-e366ca8dbfb3d38e4bcbfa02965d6736a7e6bdca.tar.xz
zsh-e366ca8dbfb3d38e4bcbfa02965d6736a7e6bdca.zip
users/9638: tweaks for FCEDIT etc.
21986: rewrite completion suffixes for wide characters
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index 063baa687..1b7e1935e 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -1461,6 +1461,8 @@ bin_fc(char *nam, char **argv, Options ops, int func)
 		else
 		    editor = getsparam("FCEDIT");
 		if (!editor)
+		    editor = getsparam("EDITOR");
+		if (!editor)
 		    editor = DEFAULT_FCEDIT;
 
 		unqueue_signals();