Version: Deno canary
Hi,
The new bash completion script generation from cli_parser is broken. It outputs literal \n in a couple of places instead of newlines:
for i in ${COMP_WORDS[@]}
do
case "${cmd},${i}" in
",${COMP_WORDS[0]}")
cmd="deno"
;;
"deno,run")\n cmd="deno__run"
;;
"deno,watch")\n cmd="deno__watch"
;;
If the script is run, tab-completion results in the bash error n: command not found.
Regression in 4e8b2f4.
I'll make a quick PR.
Version: Deno canary
Hi,
The new bash completion script generation from cli_parser is broken. It outputs literal
\nin a couple of places instead of newlines:If the script is run, tab-completion results in the bash error
n: command not found.Regression in 4e8b2f4.
I'll make a quick PR.