From a1d44a92be59730f5753ef72d2d8e12eb1f8af49 Mon Sep 17 00:00:00 2001 From: Next Alone <12210746+NextAlone@users.noreply.github.com> Date: Sat, 9 Mar 2024 11:56:37 +0800 Subject: [PATCH] fix: #10184 causes adb file completion failures (#10349) Signed-off-by: NextAlone <12210746+NextAlone@users.noreply.github.com> --- share/completions/adb.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/adb.fish b/share/completions/adb.fish index c76b9e9ec..79a015337 100644 --- a/share/completions/adb.fish +++ b/share/completions/adb.fish @@ -73,7 +73,7 @@ function __fish_adb_list_files end # Return list of directories suffixed with '/' - __fish_adb_run_command find -H "$token*" -maxdepth 0 -type d 2\>/dev/null | awk '{print $0"/"}' + __fish_adb_run_command find -H "$token*" -maxdepth 0 -type d 2\>/dev/null | string replace -r '$' / # Return list of files __fish_adb_run_command find -H "$token*" -maxdepth 0 -type f 2\>/dev/null end