Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1013 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 1013 Bytes

HyperCwd

Opens new tabs with the same directory as the current tab in Hyper for OS X, Linux and Windows.

New Tabs

Mentioned in Awesome Hyper

Installation

Open ~/.hyper.js and add hypercwd to the list of plugins.

Configuration

hypercwd can be configured in ~/.hyper.js configuration file within the config object:

Example configuration:

module.exports = {
  config: {
    // default font size for all tabs
    fontSize: 14,

    // ... other config options

    // add the hypercwd configuration object like this
    hypercwd: {
      initialWorkingDirectory: '~/Documents'
    }
  },
  plugins: [
    'hypercwd'
  ]
}

Options

initialWorkingDirectory - the path to open the first terminal session

Note: all subsequent sessions are opened with the same directory as the session in focus