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)
Thu, Dec 5, 1:11 PM
Unknown Object (File)
Wed, Nov 27, 4:34 AM
Unknown Object (File)
Nov 21 2024, 6:58 AM
Unknown Object (File)
Nov 20 2024, 5:54 PM
Unknown Object (File)
Nov 12 2024, 11:30 PM
Unknown Object (File)
Nov 8 2024, 9:15 PM
Unknown Object (File)
Oct 28 2024, 7:12 AM
Unknown Object (File)
Oct 20 2024, 8:44 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