diff --git a/share/completions/adb.fish b/share/completions/adb.fish index 345d1af24..c76b9e9ec 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 | string -r '$' / + __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