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)
Sat, Feb 22, 3:00 AM
Unknown Object (File)
Thu, Feb 13, 9:40 PM
Unknown Object (File)
Thu, Feb 13, 12:44 PM
Unknown Object (File)
Thu, Feb 13, 11:51 AM
Unknown Object (File)
Thu, Feb 13, 8:26 AM
Unknown Object (File)
Sun, Feb 9, 7:21 PM
Unknown Object (File)
Sun, Feb 9, 1:41 PM
Unknown Object (File)
Sun, Feb 2, 7:17 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