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, Oct 28, 7:12 AM
Unknown Object (File)
Sun, Oct 20, 8:44 AM
Unknown Object (File)
Sun, Oct 13, 2:49 AM
Unknown Object (File)
Sun, Oct 13, 2:49 AM
Unknown Object (File)
Sun, Oct 13, 2:49 AM
Unknown Object (File)
Sun, Oct 13, 1:59 AM
Unknown Object (File)
Sat, Oct 12, 5:16 PM
Unknown Object (File)
Sep 8 2024, 8:24 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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable