`${HOME%/}` instead of `${HOME-}`
LucasLarson opened this issue · 0 comments
LucasLarson commented
Consider upgrading ${HOME-}
references1 to ${HOME%/}
2 to avoid $PATH
pollution.3
Footnotes
-
The Single UNIX Specification, version 4,4 says that “[i]f a pathname begins with two successive slash characters, the first component following the leading slash characters may be interpreted in an implementation-defined manner” (via) ↩
-
Single UNIX Specification, Version 4: Base Definitions § 4.13 Pathname Resolution ↩