ShellCompletionConfiguration.fromSystemShell constructor
ShellCompletionConfiguration.fromSystemShell(
- SystemShell systemShell
Creates a ShellCompletionConfiguration given the current SystemShell.
Implementation
factory ShellCompletionConfiguration.fromSystemShell(
SystemShell systemShell,
) {
switch (systemShell) {
case SystemShell.zsh:
return zshConfiguration;
case SystemShell.bash:
return bashConfiguration;
}
}