git clone https://github.com/npakk/dotfiles.git ~/dotfiles
cd ~/dotfiles
make
環境変数 $HOME
と$DOOMDIR
にC:\Users\ユーザ名
を設定しておく
# 管理者権限のあるPowerShellで以下を実行(scripts/powershell.ps1のエラー回避)
# Scoopインストール
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
# aria2のワーニングを表示させない
scoop config aria2-warning-enabled false
# 最低限必要なソフトウェアのインストール
scoop install aria2 git task
git clone https://github.com/npakk/dotfiles.git $HOME/dotfiles
cd $HOME/dotfiles
task
git clone https://github.com/hlissner/doom-emacs $HOME/.emacs.d
cd $HOME/.emacs.d/bin
./doom install
アイコンが文字化けしている場合は、M-x nerd-icons-install-fonts
を実行してダウンロードされるttfファイルをインストール。
Macの場合はアプリケーションフォルダにEmacsアプリを追加する必要があるので、以下を実行する。
osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@29/Emacs.app" at posix file "/Applications" with properties {name:"Emacs.app"}'
以下のソフトウェアは手動でインストール
- 1Password
- ATOK
- Docker
Dockerのデタッチキーと衝突してCtrl+p
の入力が吸われるときは、~/.docker/config.json
を以下のように修正
Winの場合は%USERPROFILE%\.docker\config.json
、WSL環境なら~/.docker/config.json
も
{
"detachKeys": "ctrl-_"
}