fix a couple more tilde paths.

windows-high-dpi
John Benediktsson 2018-02-26 17:33:36 -08:00
parent 9276c26f4c
commit b139a896ef
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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 ( -- ? )