mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 15:51:15 -03:00
Revert "funced: Use variable-as-command"
This reverts commit 3253893923.
Fixes #5625.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user