Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 652 Bytes

File metadata and controls

19 lines (15 loc) · 652 Bytes

Open terminal window from Xcode

  1. Create executable shell script with the following contents and save it anywhere
    #!/bin/bash
    open -a Terminal "`pwd`"
  1. Add execute permissions to your script: $ chmod +x
  2. In the Xcode menu bar, Go to Xcode -> Preferences -> Behaviors.
  3. Add a Custom behavior
  4. Name it "Open Terminal", or whatever.
  5. (Optional) Configure a hotkey for the behavior by tapping on the ⌘
  6. (Optional) Input hotkey combination
  7. Checkmark Run, select you script from step 1.
  8. Use it From Xcode -> Behaviors.

https://stackoverflow.com/a/41429508