From 6b5159f65e68c5ba55c6cf26c547583bcb6d4445 Mon Sep 17 00:00:00 2001 From: David Alexander Majnemer Date: Tue, 13 Jan 2009 01:36:27 -0600 Subject: [PATCH] add support for FCEDIT, this makes sure that history is modified with EDITOR in zsh, bash and ksh --- commonsh/10_alias | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commonsh/10_alias b/commonsh/10_alias index 7915526..3f7c204 100755 --- a/commonsh/10_alias +++ b/commonsh/10_alias @@ -14,6 +14,10 @@ for EDITOR in vim elvis vile nvi vi ; do done export EDITOR +# make the history editor the editor we want +FCEDIT=$EDITOR +export $FCEDIT + # aliases alias cd..='cd ..'