/dotfiles

Primary LanguageShell

dotfiles

Homebrew

Homebrew をインストール

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

各種パッケージをインストール

cd .config/homebrew
brew bundle

Macにインストール済みのパッケージとBrewfileにあるパッケージを比較して、未インストールのパッケージのリストを表示

brew bundle cleanup

Macにインストール済みのパッケージとBrewfileにあるパッケージを比較して、未インストールのパッケージをMacから削除する

brew bundle cleanup --force

powerline-shell

※ 予め、Homebrewで font-hackgen をインストール済みであること

iterm2でフォントを変更

Preferences -> Profiles -> Text -> Font
#=> 「HackGen35」を選択
#=> font sizeで16を選択

powerline-shellをインストール

git clone https://github.com/b-ryan/powerline-shell
cd powerline-shell
python3 setup.py install

設定ファイルのシンボリックリンクを作成

mkdir ~/.config/powerline-shell
ln -sf ~/dotfiles/.config/powerline-shell/config.json ~/.config/powerline-shell/config.json

git config user.nameが未設定だとpowerline-shellのエラーメッセージが表示されるため、予め.config/zsh/env.zshでユーザー名を定義しておくこと

zsh

シンボリックリンクを作成

ln -sf ~/dotfiles/.config/zsh/zshrc ~/.zshrc

設定内容を読み込む

source ~/.zshrc

Raycast

import 機能で設定ファイルを読み込む

VSCode (Cursor)

設定ファイルを反映する

# VSCode
bash ~/.config/vscode/install-vscode.sh

# Cursor
bash ~/.config/vscode/install-cursor.sh