From 3413be7258c098dd439653c014d3a048f847474a Mon Sep 17 00:00:00 2001 From: Daniel Bayley Date: Wed, 26 Jul 2017 22:11:00 +0100 Subject: [PATCH] Improve open command --- pages/osx/open.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/osx/open.md b/pages/osx/open.md index d4d1152c0b..68da51bba8 100644 --- a/pages/osx/open.md +++ b/pages/osx/open.md @@ -6,9 +6,13 @@ `open {{file.ext}}` -- Run a graphical MacOSX application: +- Run a graphical macOS application: -`open /Applications/{{Application.app}}` +`open -a {{Application}}` + +- Run a graphical macOS app based on the bundle identifier (refer to osascript for an easy way get this): + +`open -b {{com.domain.application}}` - Open the current directory in Finder: