Homebrew, mise, chezmoi, fish shell, ... をインストールして、このdotfilesを適用するスクリプト:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/r4ai/dotfiles/main/init/base/init.sh)"macOS:
brew install chezmoiArchLinux:
paru -S chezmoiwindows:
winget install twpayne.chezmoiwith curl:
sh -c "$(curl -fsLS get.chezmoi.io)"For fish shell:
chezmoi completion fish --output=~/.config/fish/completions/chezmoi.fishchezmoi init https://github.com/r4ai/dotfiles.gitインストール可能なディストリビューション一覧を確認する:
wsl --list --onlineubuntu--22.04をインストールする:
wsl --install -d ubuntu-22.04新規ユーザーを追加する:
sudo adduser USER_NAMEユーザに、sudo権限を付与する:
sudo gpasswd -a USER_NAME sudo作成したユーザーでubuntuが起動するようにする:
ubuntu2204.exe config --default-user USER_NAMEfishをインストールする:
sudo apt-add-repository ppa:fish-shell/release-3
sudo apt update
sudo apt install fish起動シェルをfishにする:
chsh -s "$(which fish)"chezmoiをインストールする:
sh -c "$(curl -fsLS get.chezmoi.io)"PATH を通す:
fish_add_path bin/chezmoi を初期化する:
chezmoi init https://github.com/YOUR_NAME/DOTFILES_REPO.gitクローンしてきた内容を適用する:
chezmoi applycurl -L https://nixos.org/nix/install | sh -s -- --no-daemon# starship (prompt)
nix profile install nixpkgs#starship
# gh (github cli)
nix profile install nixpkgs#gh
# bat (cat)
nix profile install nixpkgs#bat
# eza (ls)
nix profile install nixpkgs#eza
# ripgrep (grep)
nix profile install nixpkgs#ripgrep
# fd (find)
nix profile install nixpkgs#fd
# neovim (vim)
nix profile install nixpkgs#neovim