chabou / hyper-autoprofile

Extension for Hyper.app to configure terminal appearance according to current shell prompt
MIT License
37 stars 4 forks source link

AutoProfile configuratiion not working #9

Open BlandineRdl opened 6 years ago

BlandineRdl commented 6 years ago

Hi ! I'm sorry but i don't understand, i have not errors in console, 0 informations... and the profile is not applied.

If i use "cd Documents", the profile define for the path ~/Documents is not applied

I use Hyper 2.0 and oh my zsh for my shell

This is my file .hyper.js:

config: {
    autoProfile: {
      prompts: [
    {
          // 'hostname➜  ~  ᐅ' oh-my-zsh prompt (sonicradish theme)
          pattern: "^(\\S+)➜  ([\\/~].*) ",
          hostname: 1
          path: 2
      }
    ],
      profiles: [
        {
           triggers: ["/Documents"],
           backgroundColor: "#400"
         },
      ],
      stripAnsiColors: true, //default
      debug: true //default
    },
...
plugins: [
    `hyperpower`,
    `hyper-autoprofile`
  ]
}

(Sorry for my bad english)