diff --git a/television/utils/shell/completion.fish b/television/utils/shell/completion.fish index 95ba5b8..e9dbf22 100644 --- a/television/utils/shell/completion.fish +++ b/television/utils/shell/completion.fish @@ -109,9 +109,9 @@ function tv_smart_autocomplete end for i in $result - commandline -it -- $dir(string escape -- $i)' ' + commandline -t -- (string escape -- "$dir$i")' ' # optional, if you want to replace '/home/foo/' with '~/', comment out above and uncomment below - # commandline -it -- (string replace --all $HOME '~' $dir(string escape -- $i))' ' + # commandline -t -- (string replace --all $HOME '~' -- (string escape -- "$dir$i"))' ' end end