Skip to content

kuroweb/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

  • 本リポジトリをクローン

    git clone https://${GIT_USER_PRIVATE}:${GIT_TOKEN_PRIVATE}@github.com/${GIT_USER_PRIVATE}/dotfiles ~/dotfiles

Homebrew

  • Homebrew をインストール

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • 各種パッケージをインストール

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

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

    brew bundle cleanup --force

Tips

  • アグレッシブにパッケージアップデートする

    brew update
    brew upgrade --cask --greedy
    brew bundle

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/powerline-shell/config.json ~/.config/powerline-shell/config.json

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

zsh

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

    ln -sf ~/dotfiles/zsh/zshrc ~/.zshrc
  • 設定内容を読み込む

    source ~/.zshrc

Raycast

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

VSCode (Cursor)

  • 設定ファイルを反映する

    # VSCode
    cd ~/dotfiles/vscode
    bash install.sh
    
    # Cursor
    cd ~/dotfiles/cursor
    bash install.sh

Ruby

  • ruby/*配下に目的ごとにディレクトリを切ってgemをインストールできるようにしている

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published