We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de53f8a commit 5870333Copy full SHA for 5870333
+stdlib/get_shell.m
@@ -0,0 +1,7 @@
1
+function shell = get_shell()
2
+% return value of environment variable SHELL
3
+% this is mostly relevant on unix-like systems
4
+
5
+shell = string(getenv("SHELL"));
6
7
+end
+stdlib/is_wsl_path.m
@@ -1,4 +1,6 @@
function iswsl = is_wsl_path(path)
+% heuristic to detect a WSL path
+% https://learn.microsoft.com/en-us/windows/wsl/filesystems
arguments
path (1,1) string {mustBeNonzeroLengthText}
end
0 commit comments