From 2a266c4d4869cd1bd69a2539b669c037ef49cb78 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Fri, 9 Mar 2018 11:55:12 -0600 Subject: [PATCH] Update fish's only usage of `read -s` to use `read --shell` instead --- 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 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