Handbook
Glossary
zed-path ( -- path/f )
Vocabulary
editors
.
zed
Inputs
None
Outputs
path/f
an
object
Definition
USING:
system
;
IN:
editors.zed
HOOK:
zed-path
os
( -- path/f )
Methods
USING:
combinators.short-circuit
editors.zed
io.pathnames
io.standard-paths
namespaces
system
;
M:
linux
zed-path
{
[
\
zed-path
get
]
[
"zed"
find-in-path
]
[
"~/.local/bin/zed"
absolute-path
]
}
0||
;
USING:
editors.zed
io.pathnames
io.standard-paths
kernel
system
;
M:
macos
zed-path
"dev.zed.Zed"
find-native-bundle
[
"Contents/MacOS/cli"
append-path
]
[
f
]
if*
;