1.2.4 • Published 6 years ago

@stephenmathieson/hypercwd v1.2.4

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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