Skip to content

Instantly share code, notes, and snippets.

@rex-zsd
Last active February 17, 2017 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rex-zsd/7aa285db9499f0f79de340c3cf02060d to your computer and use it in GitHub Desktop.
Save rex-zsd/7aa285db9499f0f79de340c3cf02060d to your computer and use it in GitHub Desktop.
hyper

使用electron开发的终端hyper

可以使用brew cask install hyper来安装,但是反正hyper内做了自更新,也没必要使用brew来管理了。

使用的时候遇到了一个坑,我的mac上使用的shell是/bin/zsh

此时必须在~/.hyper,js内设置shell: '/bin/zsh'

否则hyper会无法install、update plugins,

目前原因不明。

还有一点对中文使用者不太友好的是,hyper对中文的支持非常差,

mac下无法输入中文,显示出来的中文也都挤在一起,在issue内搜索了一下后有人推荐手动设置css来fix

termCSS: `
  .wc-node{
  	width: 1em !important
  }
`,

至于中文的输入问题,目前还无解。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment