diff --git a/share/functions/funced.fish b/share/functions/funced.fish index 706e0ee16..401b85276 100644 --- a/share/functions/funced.fish +++ b/share/functions/funced.fish @@ -61,7 +61,7 @@ function funced --description 'Edit function definition' end set -l prompt 'printf "%s%s%s> " (set_color green) '$funcname' (set_color normal)' - if read -p $prompt -c "$init" -s cmd + if read -p $prompt -c "$init" --shell cmd echo -n $cmd | fish_indent | read -lz cmd eval "$cmd" end