LoginSignup
44
30

More than 5 years have passed since last update.

Macでターミナルの背景をポケモンにする(iTerm)

Posted at

ガーディ

最近ギークハウス界隈で流行ってるので、この機会にやってみようと思い導入してみました。
生産性上がった(気がする)

↓githubはこちら。
https://github.com/LazoCoder/Pokemon-Terminal

↓こちらを参考にしてみるも、homeに.hyper.jsが表示されずできなかった。
https://qiita.com/chanuu/items/b5c3d11e089ad0c7356d

パイソニアンが隣でご飯食べてたので、適宜質問しながらgithubを参考にpipから入れてみました。
MacにはデフォルトでPython2が入っていますが、Python3を入れないと(たぶん)だめ。
※Python3がすでに入ってる人はここは飛ばしてください。

↓入力してバージョンが表示されなかったらPython3が入ってないので入れてください。
$ python3 --version
Python 3.6.0 ←バージョン

↓Python3の入れ方はこちらから
https://qiita.com/ms-rock/items/6e4498a5963f3d9c4a67

1. pipをインストールする

pipのインストール
$ sudo pip3.6 install git+https://github.com/LazoCoder/Pokemon-Terminal.git

2. PATHを適用する

PATHを通さないと適用されない(はず)。iTerm再起動せずにやったので自動適用されるかはわからないです。念のため。
$ source ~/.bash_profile

3. 適当にポケモンを入力してみる

例:ピカチュウ
$ pokemon pikachu

ピカチュウ

ポケモンの名前はHyper Pokemonでお好きなポケモンをどうぞ!

番外. iTerm起動時にポケモン適用させる

iTermの設定で起動時の初期背景をポケモンにできます。

1. iTermを選択状態でナビゲーションバーのiTerm2(画面左上)をクリック
2. Preferences > Profiles > Generalを順にクリック
3. Command内のSend text at start:に pokemon pikachu; clearと入力

スクリーンショット 2018-02-27 3.12.42.png

これで起動した瞬間にポケモンが見れて幸せになれます。

44
30
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
44
30