current property
Shell
get
current
Returns the user shell that this script was launched from e.g. bash, powershell, .... If the shell can't be deteremined then the UnknownShell is returned.
Implementation
static Shell get current => _current ??= ShellDetection().identifyShell();