diff --git a/news/24.bugfix.rst b/news/24.bugfix.rst new file mode 100644 index 0000000..9ee6e80 --- /dev/null +++ b/news/24.bugfix.rst @@ -0,0 +1 @@ +Fix a typo that prevents ash and csh from being detected. diff --git a/src/shellingham/_core.py b/src/shellingham/_core.py index 6dea73b..da103a9 100644 --- a/src/shellingham/_core.py +++ b/src/shellingham/_core.py @@ -1,5 +1,5 @@ SHELL_NAMES = { - 'sh', 'bash', 'dash', 'ash' # Bourne. + 'sh', 'bash', 'dash', 'ash', # Bourne. 'csh', 'tcsh', # C. 'ksh', 'zsh', 'fish', # Common alternatives. 'cmd', 'powershell', 'pwsh', # Microsoft.