Alex Pasmantier c8da07f3ed
fix(fish): more robust string escaping (#656)
fixes #653 

>
28f58e0641/television/utils/shell/completion.fish (L112)
> 
> This line should be
> 
> ```
> commandline -t -- (string escape -- "$dir$i")' '
> ```
> 
> This is a bug in the fish completion. Bash seems to be fine.
> 
> Testing with:
> 
> ```
> ❯ fish --version
> fish, version 4.0.2
> 
> ❯ mkdir -p "a/with whitespace"
> 
> ❯ cd a<ctrl-t>
> ```
> 
> Result:
> 
> ```
> ❯ cd a/'with whitespace/'
> ```
> 
> Expected result:
> 
> ```
> ❯ cd 'a/with whitespace/'
> ```
> 
> The fix on top gets this result.
2025-07-19 23:05:31 +02:00
..
2025-06-28 16:56:09 +02:00