cp $file ~/path/
gives is not a directory
#11683
Labels
needs-triage
An issue that hasn't had any proper look
Milestone
Describe the bug
I haven yet to do any testing, but it seems like after #11621, things like
cp $stuff ~/path/
doesn't work anymore:However, the error is gone if the trailing
/
is removed. It's also fine if~
is not included. This is a bit surprising because~
isn't even a globHow to reproduce
shown above
Expected behavior
treat
~/path/
and~/path
the same forcp
(and other FS commands if applicable)Screenshots
No response
Configuration
Additional context
Last upstream I rebased to is
859f7b3dc add
, and currently I'm on$.extra_usage
to modules (#11649)c371d1a53 (upstream/main) fix exit_code handling when running a scripts with ctrlc (#11466)
to test that commitThe text was updated successfully, but these errors were encountered: