Hyper: Can’t open preferences

Created on 21 Jul 2016  ·  10Comments  ·  Source: vercel/hyper

I get this every time I try to open preferences:

➜ ~ # Attempting to open ~/.hyperterm.js with your $EDITOR

or! # If this doesn't work, open it manually with your favorite edit 

➜ ~ $EDITOR ~/.hyperterm.js && exit
bash: /Users/Ben/.hyperterm.js: Permission denied

➜ ~ 
    -

    HyperTerm 0.5.0
    Electron 1.2.5
    darwin x64 15.6.0
help wanted Bug Medium

Most helpful comment

@moloafrica You have to be careful about the path. The config file is located in your home directory and begins with a dot. atom ~/.hyperterm.js should open it correctly.

All 10 comments

We have some fixes coming for preferences. Keep us posted when we release 0.6.0

Thanks!
👍

On Thu, Jul 21, 2016 at 3:45 PM, Guillermo Rauch [email protected]
wrote:

We have some fixes coming for preferences. Keep us posted when we release
0.6.0


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zeit/hyperterm/issues/344#issuecomment-234362533, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHGwhPTXegYzA8rJwj_i3e_wIzYEXarRks5qX8xlgaJpZM4JSIUG
.

just installed the 0.6.0 and got the same problem :)

I had to create manually the ~/.hyperterm.js and then open it manually. It keeps saying:

~ ∫ # Attempting to open ~/.hyperterm.js with your $EDITOR
~ ∫ # If this doesn't work, open it manually with your favorite editor!
~ ∫ $EDITOR ~/.hyperterm.js && exit
/Users/me/.hyperterm.js: line 1: module.exports: command not found
/Users/me/.hyperterm.js: line 2: config:: command not found
/Users/me/.hyperterm.js: line 3: //: is a directory
/Users/me/.hyperterm.js: line 4: fontSize:: command not found
/Users/me/.hyperterm.js: line 6: //: is a directory
/Users/me/.hyperterm.js: line 7: fontFamily:: command not found
/Users/me/.hyperterm.js: line 9: syntax error near unexpected token `('
/Users/me/.hyperterm.js: line 9: `    // terminal cursor background color (hex)'
~ ∫ 

same case here
screen shot 2016-07-26 at 16 06 22

The problem is that the $EDITOR variable is unset.
Therefore, $EDITOR ~/.hyperterm.js is evaluated as if one tries to execute ~/.hyperterm.js with the default shell.

(Temporary?) workaround could be to set the very variable in your .profile/.bashrc/.zshrc/whatever, e.g. EDITOR=vim.

@dak0rn I am using atom as the text editor. When I run $ atom hyperterm.js it creates a new file which doesn't show the config options such as changing the foreground or background color. How do I change these options?

@moloafrica You have to be careful about the path. The config file is located in your home directory and begins with a dot. atom ~/.hyperterm.js should open it correctly.

This is fixed in this PR -- https://github.com/zeit/hyperterm/pull/517

@matheuss I'm pretty sure this can be closed! :muscle:

Thank you @flybayer! 😄

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aem picture aem  ·  3Comments

ConstantinChirila picture ConstantinChirila  ·  3Comments

stan-stripe picture stan-stripe  ·  3Comments

daenuprobst picture daenuprobst  ·  3Comments

sarneeh picture sarneeh  ·  3Comments