File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,13 @@ _comp_cmd_xfreerdp__kbd_list()
7
7
kbd_list=$( " $1 " /list:kbd 2> /dev/null) ||
8
8
# Old syntax, deprecated in 2022-10-19
9
9
# See https://github.com/FreeRDP/FreeRDP/commit/119b8d4474ab8578101f86226e0d20a53460dd51
10
- kbd_list=$( " $1 " /kbd-list 2> /dev/null)
10
+ kbd_list=$( " $1 " /kbd-list 2> /dev/null) ||
11
+ # This seems to have broken in 2020 by commit
12
+ # https://github.com/FreeRDP/FreeRDP/commit/30275e7ac3eedf4db1b8fb1c0cb81f03e630ee8a,
13
+ # see https://github.com/scop/bash-completion/pull/1380#issuecomment-2870229302
14
+ # but is seemingly the only way to list the keyboard layout in 1.0.2, which is
15
+ # the version in ubuntu 14.04.6
16
+ kbd_list=$( " $1 " --kbd-list 2> /dev/null)
11
17
_comp_awk ' /^0x/ { print $1 }' <<< " $kbd_list"
12
18
}
13
19
You can’t perform that action at this time.
0 commit comments