Skip to content

Commit c446f2e

Browse files
committed
Sh: add dash as an alias
Signed-off-by: Masatake YAMATO <[email protected]>
1 parent 299fe52 commit c446f2e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Tmain/list-aliases.d/stdout-expected.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ bash
44
ksh
55
zsh
66
ash
7+
dash
78
shell-script

parsers/sh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ extern parserDefinition* ShParser (void)
474474
"sh", "SH", "bsh", "bash", "ksh", "zsh", "ash", NULL
475475
};
476476
static const char *const aliases [] = {
477-
"sh", "bash", "ksh", "zsh", "ash",
477+
"sh", "bash", "ksh", "zsh", "ash", "dash",
478478
/* major mode name in emacs */
479479
"shell-script",
480480
NULL

0 commit comments

Comments
 (0)