feat: adb completion cleared of awk

This commit is contained in:
Josef Litoš 2024-01-02 18:20:24 +01:00 committed by Fabian Boehm
parent 4f3e7ddef0
commit ee837f254b

View File

@ -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 $0"/"}'
__fish_adb_run_command find -H "$token*" -maxdepth 0 -type d 2\>/dev/null | string -r '$' /
# Return list of files
__fish_adb_run_command find -H "$token*" -maxdepth 0 -type f 2\>/dev/null
end