From 792e2462624cd1209ffab1eb87c0fad082e87c66 Mon Sep 17 00:00:00 2001 From: maxfl Date: Thu, 28 Jun 2012 07:56:49 +0800 Subject: [PATCH] Add emacs to 'funced -e' The order is also changed. --- share/functions/funced.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/funced.fish b/share/functions/funced.fish index 13ee44385..65045c22f 100644 --- a/share/functions/funced.fish +++ b/share/functions/funced.fish @@ -9,7 +9,7 @@ function funced --description 'Edit function definition' end if not type -f "$external" >/dev/null - for e in edit nano pico joe mcedit vim vi + for e in edit emacs vim joe mcedit nano pico vi if type -f $e >/dev/null set external $e break