2
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ターミナルを改造する

Last updated at Posted at 2022-07-26

こんな感じにする

スクリーンショット 2022-07-26 20.28.03.png

スクリーンショット 2022-07-26 20.26.46.png

前提条件

  • ターミナルがzshであること
  • zinitを初めて使用する

1. zinitのインストール

sh -c "$(curl -fsSL https://git.io/zinit-install)"
source ~/.zshrc
zinit self-update

2. フォントのインストール

①↓のリンクからダウンロード

赤枠の4つをダウンロード(クリックでダウンロードできる)

スクリーンショット 2022-07-26 20.03.33.png

②ダウンロードしたファイルを開いてインストールする(4つとも)

スクリーンショット 2022-07-26 20.07.54.png

③ターミナルのフォントを変更する
ターミナル→環境設定→プロファイル
フォントをMesloLGS NFに変更する

スクリーンショット 2022-07-26 20.11.34.png

3. Powerlevel10kのインストール

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc

4. ターミナルの設定

ターミナルを再起動することで、設定が開始される。
ターミナルを見ながら、一問一答形式で自分好みのスタイルを決めていく

5. VScodeの設定

settings.jsonに以下2行を追記

settings.json
{
...
"terminal.integrated.fontFamily": "MesloLGS NF",
"terminal.integrated.fontSize": 12,
}

VScodeを立ち上げ直すと、変更が反映される。

参考にさせていただいた記事

2
6
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
2
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?