fix a couple more tilde paths.
parent
9276c26f4c
commit
b139a896ef
|
@ -126,9 +126,9 @@ ARTICLE: "rc-files" "Running code on startup"
|
||||||
$nl
|
$nl
|
||||||
"If you are unsure where the files should be located, evaluate the following code:"
|
"If you are unsure where the files should be located, evaluate the following code:"
|
||||||
{ $code
|
{ $code
|
||||||
"USE: command-line"
|
"USING: io io.pathnames ;"
|
||||||
"\".factor-rc\" rc-path print"
|
"\"~/.factor-rc\" absolute-path print"
|
||||||
"\".factor-boot-rc\" rc-path print"
|
"\"~/.factor-boot-rc\" absolute-path print"
|
||||||
}
|
}
|
||||||
"Here is an example " { $snippet ".factor-boot-rc" } " which sets up your developer name:"
|
"Here is an example " { $snippet ".factor-boot-rc" } " which sets up your developer name:"
|
||||||
{ $code
|
{ $code
|
||||||
|
|
|
@ -94,7 +94,7 @@ M: method word-vocabulary "method-generic" word-prop word-vocabulary ;
|
||||||
|
|
||||||
: run-mason-rc ( -- )
|
: run-mason-rc ( -- )
|
||||||
t "user-init" [
|
t "user-init" [
|
||||||
".factor-mason-rc" rc-path try-user-init
|
"~/.factor-mason-rc" try-user-init
|
||||||
] with-variable ;
|
] with-variable ;
|
||||||
|
|
||||||
: check-user-init-errors ( -- ? )
|
: check-user-init-errors ( -- ? )
|
||||||
|
|
Loading…
Reference in New Issue