As inputrc only has "if", "else" and "endif" and does not have an "else if" conditional statment, are nested conditionals permitted, viz a second "if" within an "else" block?
For example
$if term=lxterm
...
$else
$if term=rxvt
...
$else
$if term=xterm
...
$endif
$endif
$endif
Asked by J G Miller
(358 rep)
Nov 15, 2024, 01:15 AM
Last activity: Nov 16, 2024, 07:22 AM
Last activity: Nov 16, 2024, 07:22 AM