Open the Terminal (Mac OS X, Linux) or Command Prompt (Windows) in the given directory via context menu or keyboard shortcut in the Atom text editor.
Clone or download
Pull request Compare This branch is 41 commits ahead of Flynsarmy:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
keymaps
menus
.gitignore
LICENSE.md
README.md
index.coffee Handle permission errors. Apr 6, 2018
package.json
screenshot.png
terminal-tab.scpt
terminal-tab.sh

README.md

Open Terminal Here

Open the Terminal (Mac OS X, Linux) or Command Prompt (Windows) in the given directory via context menu or keyboard shortcut.

Screenshot of the "Open Terminal Here" menu item displayed

Keyboard shortcuts

Open the Terminal in the current directory

Platform Keyboard shortcut
Mac OS X ctrl-cmd-t
Windows ctrl-alt-t
Linux ctrl-alt-t

Open the Terminal in the project directory

Platform Keyboard shortcut
Mac OS X alt-cmd-t
Windows ctrl-alt-shift-t
Linux ctrl-alt-shift-t

FAQ

How to open a new tab instead of a new window?

Mac OS X

  1. Open Automator and select Application as new document.
  2. From the Library, add Run Applescript as Automator action.
  3. Replace the sample AppleScript code with the code from terminal-tab.scpt.
  4. Save the Automator app as TerminalTab.app to your Applications folder.
  5. In the open-terminal-here settings, set Command to open -a TerminalTab.app "$PWD".

Ubuntu Linux

  1. Install xdotool:
    sudo apt-get install -y xdotool
  2. Download terminal-tab.sh and make it executable:
    chmod +x ./terminal-tab.sh
  3. Move the script to a directory in your path:
    sudo mv ./terminal-tab.sh /usr/local/bin/terminal-tab
  4. In the open-terminal-here settings, set Command to terminal-tab.