From 8e60ebcd344c3851d3ac4194a0435adbdeacc417 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 7 Feb 2019 09:47:15 +0100 Subject: [PATCH] Revert "funced: Use variable-as-command" This reverts commit 3253893923ff8fdb78bc200d82a9a0308c675b96. Fixes #5625. --- 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 8723a0ccb..7ad717e0a 100644 --- a/share/functions/funced.fish +++ b/share/functions/funced.fish @@ -94,7 +94,7 @@ function funced --description 'Edit function definition' while true set -l checksum (__funced_md5 "$tmpname") - if not $editor $tmpname + if not eval $editor $tmpname echo (_ "Editing failed or was cancelled") else # Verify the checksum (if present) to detect potential problems