Jump to content

Opening the terminal app configured for Alfred's use

Recommended Posts

  • 3 weeks later...

Sorry for the time lapse in responding and the lack of clarity!


I have a workflow that launches a terminal session, but I don't want it to assume which terminal application to use. Instead, I would like to choose which terminal application to launch based on Alfred's own 'Terminal/Shell > Application' setting (basically, either launch iTerm2 or Terminal.app based on this setting).

Link to comment
Just read it here :


~/Library/Application Support/Alfred 2/Workflow Data/Alfred.alfredpreferences/preferences/features/terminal/prefs.plist


Read the value of the key 'application', if value is 0, it's Terminal, if it's 1, it's iTerm, 2 = custom

If custom is selectioned, read value of key 'custom'
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...