From bb11800d53d792b1e832b64b794539c6d4545568 Mon Sep 17 00:00:00 2001 From: Marcin Wojnarowski Date: Tue, 4 Apr 2023 05:06:15 +0200 Subject: [PATCH] Fix adb path completion (#9707) Support paths with spaces. (cherry picked from commit 0f1ef34736ece2c2d2522f75140d98bc5d527096) --- 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 34f2e7266..f093f69d6 100644 --- a/share/completions/adb.fish +++ b/share/completions/adb.fish @@ -74,7 +74,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 $1"/"}' + __fish_adb_run_command find -H "$token*" -maxdepth 0 -type d 2\>/dev/null | awk '{print $0"/"}' # Return list of files __fish_adb_run_command find -H "$token*" -maxdepth 0 -type f 2\>/dev/null end