getShell function
Implementation
String getShell() {
final shellPath = Platform.environment['SHELL'];
if (shellPath == null) {
return 'bash';
}
return basename(shellPath);
}
String getShell() {
final shellPath = Platform.environment['SHELL'];
if (shellPath == null) {
return 'bash';
}
return basename(shellPath);
}