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)
Mon, Apr 22, 8:04 PM
Unknown Object (File)
Wed, Apr 17, 7:52 AM
Unknown Object (File)
Sat, Apr 6, 4:15 PM
Unknown Object (File)
Jan 14 2024, 6:18 AM
Unknown Object (File)
Dec 20 2023, 6:15 AM
Unknown Object (File)
Nov 17 2023, 4:13 PM
Unknown Object (File)
Oct 13 2023, 6:06 PM
Unknown Object (File)
Oct 12 2023, 5:01 PM
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34463
Build 31565: arc lint + arc unit