Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 415 Bytes

specify-app-when-opening-from-command-line.md

File metadata and controls

20 lines (13 loc) · 415 Bytes

Specify App When Opening From Command Line

When you open files from the command line

$ open README.md

the default app for that filetype will be used. For me, README.md will be opened in VS Code.

If you have a different app in mind, you can specify it using the -a flag:

$ open README.md -a Notes

This will open README.md in Mac's Notes app.

See man open for more details.