murex icon indicating copy to clipboard operation
murex copied to clipboard

Should `~` error if username not found?

Open lmorg opened this issue 7 months ago • 2 comments

Describe the problem: The unhappy path for ~ is to produce root path:

» ~foobar
/

This could lead to errors creeping in silently.

Possible ways to implement: If username does not exist, then produce an error like if a $variable doesn't exist.

lmorg avatar Jul 21 '24 08:07 lmorg