mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-12-04 06:59:10 +08:00
Merge pull request #815 from yut23/patch-1
xinput: escape colons in device names
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -114,7 +114,7 @@ _xinput(){
|
||||
[[ -n "$i" ]] || continue
|
||||
xinput_devices_id+=($i)
|
||||
name="$(xinput list --name-only $i)"
|
||||
xinput_devices_name+=($name)
|
||||
xinput_devices_name+=(${name//:/\\:})
|
||||
xinput_devices+=($i\:$name)
|
||||
done
|
||||
xinput_devices+=($xinput_devices_name)
|
||||
|
||||
Reference in new issue
Block a user