Merge pull request #777 from dancek/patch-1

udisksctl: fix paths with a colon
This commit is contained in:
Shohei YOSHIDA 2021-01-19 00:31:01 +09:00 committed by GitHub
commit b8cc3b9b67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
_paths() {
local -a _path_list
for _path in $(_call_program paths "udisksctl complete \"udisksctl $words\" $CURSOR"); do
for _path in $(_call_program paths "udisksctl complete \"udisksctl $words\" $CURSOR" | sed 's/:/\\:/g'); do
_path_list+=$_path
done