zk-phi / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zk-phi’s Dotfiles

Setup (Mac)

  • Open Terminal.app
  • Install Xcode CLI tool
    xcode-select --install
        
  • Install Homebrew (see the official web for the install command) and follow the instruction to add to PATH
  • Clone this repo and submodules
    git clone https://github.com/zk-phi/dotfiles.git
    cd dotfiles
    git submodule update --init
        
  • Symlink dotfiles
    sh link.sh
        
  • Install tools via Brewfile.
    cd brew
    brew bundle
        

    Some packages may fail on Mac M1 machines. Try installing with arch -arm64 that case.

    arch -arm64 brew install <package-name>
        
  • Change the login shell (if it’s not zsh yet)
    sudo vim /etc/shells # Add /usr/local/bin/zsh
    chsh -s /usr/local/bin/zsh
        
  • Install runtimes with asdf
    cd asdf
    sh setup.sh
        
  • Build and install required fonts

    https://github.com/zk-phi/nasia

(See also https://scrapbox.io/zkphi/Mac_PC_%E7%A7%BB%E8%A1%8C)

About


Languages

Language:Emacs Lisp 97.1%Language:Shell 2.1%Language:Lua 0.6%Language:Ruby 0.1%Language:Vim Script 0.1%