Create a new command called jd open. This would open a file/directory of a JD number in the default application.
Considerations:
- Without any argument it would open the directory, probably in a file explorer.
- With a file argument it would try to open that file. The file argument could be a regex/glob.
- It would need to work on Linux, Mac, and Windows. There may be a rust crate to do this; if not, you can certainly use
xdg-open on linux; I don't know about mac or windows.
Create a new command called
jd open. This would open a file/directory of a JD number in the default application.Considerations:
xdg-openon linux; I don't know about mac or windows.