mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Revert "funced: Use variable-as-command"
This reverts commit 3253893923
.
Fixes #5625.
This commit is contained in:
parent
b03c62bd29
commit
8e60ebcd34
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue