mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 17:10:27 +00:00
Recognize rbash
This commit is contained in:
parent
faf1b6b4c7
commit
140b734142
1 changed files with 3 additions and 2 deletions
|
@ -22,8 +22,9 @@ public class ShellDialects {
|
||||||
public static ShellDialect ZSH;
|
public static ShellDialect ZSH;
|
||||||
public static ShellDialect CSH;
|
public static ShellDialect CSH;
|
||||||
public static ShellDialect FISH;
|
public static ShellDialect FISH;
|
||||||
public static ShellDialect UNSUPPORTED;
|
|
||||||
public static ShellDialect CISCO;
|
public static ShellDialect CISCO;
|
||||||
|
public static ShellDialect RBASH;
|
||||||
|
|
||||||
public static List<ShellDialect> getStartableDialects() {
|
public static List<ShellDialect> getStartableDialects() {
|
||||||
return ALL.stream().filter(dialect -> dialect.getOpenCommand() != null).filter(dialect -> dialect != SH_BSD).toList();
|
return ALL.stream().filter(dialect -> dialect.getOpenCommand() != null).filter(dialect -> dialect != SH_BSD).toList();
|
||||||
|
@ -50,8 +51,8 @@ public class ShellDialects {
|
||||||
ASH = byId("ash");
|
ASH = byId("ash");
|
||||||
SH = byId("sh");
|
SH = byId("sh");
|
||||||
SH_BSD = byId("shBsd");
|
SH_BSD = byId("shBsd");
|
||||||
UNSUPPORTED = byId("unsupported");
|
|
||||||
CISCO = byId("cisco");
|
CISCO = byId("cisco");
|
||||||
|
RBASH = byId("rbash");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue