LoginSignup
0
0

More than 5 years have passed since last update.

hyperターミナルを最新ソースでbuild & run

Posted at

こちらで書きましたがhyperというターミナルをいじっています。

hyperlineというプラグインを入れたものの何故か動きませんでした。
なんでだろう?って検索するとgithubでもissueで報告されていましたがcloseされていました。

ということは最新ソースだと動作する可能性があるということで自分でビルドしてみました。

latestだと上手くビルドできなかったので2.1.1でビルド。

brew install yarn
git clone git@github.com:zeit/hyper.git
git checkout refs/tags/2.1.1
cd hyper
yarn
yarn run app

で実行したところhyperlineが動作しました。

スクリーンショット 2018-05-27 4.04.42.png

.hyper.jsは以下の状態です。

.hyper.js
  hyperline: {                                                                 
    plugins: [                                                             
      "cpu",                                                                   
      "memory",                                                                   
      "network",                                                                   
      "battery",                                                                   
      "spotify"                                                                
    ]                                                                          
  },

このままだとyarn run appコマンドを止めるとアプリが死ぬのでappファイルを作成

yarn run dist

dist/macディレクトリにHyper.appファイルができているのでこれをアプリケーションディレクトリにコピーしておしまい。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0