Page MenuHomeFreeBSD

sh: Set PATH envvar after setting HOME in dotfile
ClosedPublic

Authored by khng on Oct 29 2020, 8:46 AM.

Details

Summary

In single-user mode, all env vars are absent, so exptilde() would not be
able to expand ~ correctly.
Place the lines setting PATH below HOME, so exptilde() would work as
expected.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.