Skip to content

Commit a1d44a9

Browse files
authored
fix: fish-shell#10184 causes adb file completion failures (fish-shell#10349)
Signed-off-by: NextAlone <12210746+NextAlone@users.noreply.github.com>
1 parent 6eddaa3 commit a1d44a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/completions/adb.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function __fish_adb_list_files
7373
end
7474

7575
# Return list of directories suffixed with '/'
76-
__fish_adb_run_command find -H "$token*" -maxdepth 0 -type d 2\>/dev/null | awk '{print $0"/"}'
76+
__fish_adb_run_command find -H "$token*" -maxdepth 0 -type d 2\>/dev/null | string replace -r '$' /
7777
# Return list of files
7878
__fish_adb_run_command find -H "$token*" -maxdepth 0 -type f 2\>/dev/null
7979
end

0 commit comments

Comments
 (0)