fix(tools): add support for shells compatible with ksh

Currently, the export tools are detecting only ksh, but there are also
compatible variants like pdksh and others. This update adds support for
such ksh-compatible shells to improve export tool compatibility with ksh
variants.

Closes https://github.com/espressif/esp-idf/issues/16043

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
Frantisek Hrbata
2025-06-03 09:22:53 +02:00
parent 11ad7e0581
commit 1f8ced8e6f

View File

@@ -323,7 +323,16 @@ SHELL_CLASSES = {
'zsh': ZshShell,
'fish': FishShell,
'sh': UnixShell,
# KornShell variants
'ksh': UnixShell,
'ksh93': UnixShell,
'mksh': UnixShell,
'lksh': UnixShell,
'pdksh': UnixShell,
'oksh': UnixShell,
'loksh': UnixShell,
'dash': UnixShell,
'nu': UnixShell,
'pwsh.exe': PowerShell,