This is probably an easy one but I can't find any related answers on the forum. I have a custom command which creates a new file based on the file name of an existing one.
echo "<purpose>!?Enter Purpose?!</purpose>" > $(echo "!" | sed "s/\..*$//").meta
Is there a method to tell a Custom Command to open a file that has been newly created by the command, as ideally I want to edit the new file immediately after creation?