nmcli tab completion does not escape single quotes
My wifi SSID is firstname lastname's network
. When I type the command nmcli dev wifi connect fir
and hit tab
for completion, the completion comes as nmcli dev wifi connect firstname\ lastname's\ network
, correctly escaping spaces but not the single quote (apostrophe) in the SSID. Expected tab completion would be nmcli dev wifi connect firstname\ lastname\'s\ network
with the apostrophe escaped.
Tab completion does work correctly when using double quotes or single quotes around the SSID (nmcli dev wifi connect "fir
-> nmcli dev wifi connect "firstname lastname's network"
, nmcli dev wifi connect 'fir
-> nmcli dev wifi connect 'firstname lastname'\''s network'
)