Handbook
Glossary
plan9-path ( -- path )
Vocabulary
editors
.
acme
Inputs
None
Outputs
path
a pathname string
Word description
Find the local installation of Plan9 from user space.The
plan9-path
word will try to locate your Plan9 installation. In order of preference this word checks:
•
The
plan9-path
global
•
The PLAN9 environment variable
Finally, if neither is available, falls back to /usr/local/plan9, the default installation path.
Definition
USING:
environment
kernel
namespaces
;
IN:
editors.acme
:
plan9-path
( -- path )
\
plan9-path
get
[
"PLAN9"
os-env
[
"/usr/local/plan9"
]
unless*
]
unless*
;