Page MenuHomeFreeBSD

sh: Set PATH envvar after setting HOME in dotfile
ClosedPublic

Authored by khng on Oct 29 2020, 8:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 27, 4:34 AM
Unknown Object (File)
Thu, Nov 21, 6:58 AM
Unknown Object (File)
Wed, Nov 20, 5:54 PM
Unknown Object (File)
Tue, Nov 12, 11:30 PM
Unknown Object (File)
Fri, Nov 8, 9:15 PM
Unknown Object (File)
Oct 28 2024, 7:12 AM
Unknown Object (File)
Oct 20 2024, 8:44 AM
Unknown Object (File)
Oct 13 2024, 2:49 AM
Subscribers

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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable