mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
Update fish's only usage of read -s
to use read --shell
instead
This commit is contained in:
parent
f8ec1e4a7b
commit
2a266c4d48
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue