diff --git a/basis/command-line/command-line-docs.factor b/basis/command-line/command-line-docs.factor index 5b41e9abe9..4ba7d66623 100644 --- a/basis/command-line/command-line-docs.factor +++ b/basis/command-line/command-line-docs.factor @@ -126,9 +126,9 @@ ARTICLE: "rc-files" "Running code on startup" $nl "If you are unsure where the files should be located, evaluate the following code:" { $code - "USE: command-line" - "\".factor-rc\" rc-path print" - "\".factor-boot-rc\" rc-path print" + "USING: io io.pathnames ;" + "\"~/.factor-rc\" absolute-path print" + "\"~/.factor-boot-rc\" absolute-path print" } "Here is an example " { $snippet ".factor-boot-rc" } " which sets up your developer name:" { $code diff --git a/extra/mason/test/test.factor b/extra/mason/test/test.factor index bd2e9dc50a..b7f7769413 100644 --- a/extra/mason/test/test.factor +++ b/extra/mason/test/test.factor @@ -94,7 +94,7 @@ M: method word-vocabulary "method-generic" word-prop word-vocabulary ; : run-mason-rc ( -- ) t "user-init" [ - ".factor-mason-rc" rc-path try-user-init + "~/.factor-mason-rc" try-user-init ] with-variable ; : check-user-init-errors ( -- ? )