Open
Description
On MacOS (and I imagine Linux) dot files are hidden, and as such, are not displayed by Get-ChildItem
which Open-EditorFile
uses to get the file(s) to open. This makes using psedit
as a shortcut to open such files impossible.
Initially I was going to suggest simply adding -Force
to the Get-ChildItem
, but the unintended consequence of that is that it will then open all the hidden files in a directory when given the directory. An alternative may be to include -Force
on Open-EditorFile
and pass that through to Get-ChildItem
.