hharnisc / hypercwd

Opens new tabs with the same directory as the current tab in Hyper
MIT License
385 stars 39 forks source link

initialWorkingDirectory is not working #67

Open linonetwo opened 5 years ago

linonetwo commented 5 years ago

I'm in hypercwd (1.3.0), Hyper 3.0.0-canary.8 (canary)

hypercwd: {
  initialWorkingDirectory: '~/Desktop'
},

But still open at ~.

jamie29w commented 5 years ago

Same issue since updating. Has this been resolved?

MarcelloTheArcane commented 5 years ago

I wasn't putting the hypercwd inside the config in my .hyper.js.

The file is like this:


module.exports = {
  config: {
    // config options
    // add hypercwd inside here
  },

  // more things outside
}
devchia254 commented 4 years ago

I changed the initialWorkingDirectory from forward slash to backward slash (twice) and it worked for me.

hypercwd: { initialWorkingDirectory: "~\\Desktop" }