mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 18:54:36 +00:00
nmcli-completion: fix support for embedded quote characters
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/455
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1325
Fixes: 9d2290135c
('cli: make nmcli do its own command completion')
This commit is contained in:
parent
3ce3451040
commit
ebdf3bd376
|
@ -84,7 +84,7 @@ _nmcli()
|
|||
# no quotes in front, escaping _everything_
|
||||
# [ ]bla'bla"bla\bla bla --> [ ]bla\'bla\"bla\\bla\ bla
|
||||
entry="${entry//\\/\\\\}"
|
||||
entry="${entry//\'/\'}"
|
||||
entry="${entry//\'/\\\'}"
|
||||
entry="${entry//\"/\\\"}"
|
||||
entry="${entry// /\\ }"
|
||||
entry="${entry//\(/\\(}"
|
||||
|
|
Loading…
Reference in a new issue