mirror of
https://github.com/fish-shell/fish-shell
synced 2025-02-13 20:48:37 +00:00
Fix adb path completion (#9707)
Support paths with spaces.
(cherry picked from commit 0f1ef34736
)
This commit is contained in:
parent
2c460cd664
commit
bb11800d53
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue