Files for my developing environment.
- zsh
- sheldon
- ghq
- peco
- starship
- fnm
- uv
- exec
./setup.zsh sheldon lock(downloads all plugins)
# windows
sudo apt install zsh
zsh
# press q
./setup.zshchsh -s $(which zsh)ログアウト後に再ログインすると反映される。
curl --proto '=https' -fLsS https://rossmacarthur.github.io/install/tool.sh \
| bash -s -- --repo rossmacarthur/sheldon --to ~/.local/bingo install github.com/x-motemen/ghq@latestgo install github.com/peco/peco/cmd/peco@latestcurl -sS https://starship.rs/install.sh | shcurl -fsSL https://fnm.vercel.app/install | bashインストール後、fnm install <version> で Node.js をインストールする。
Download the tarball from https://go.dev/dl/ and extract to /usr/local:
sudo tar -C /usr/local -xzf go<version>.linux-amd64.tar.gz/usr/local/go/bin is already added to PATH via zprofile.
curl -LsSf https://astral.sh/uv/install.sh | shインストール後、uv python install <version> で Python をインストールする。
~/.zprofile.local と ~/.zshrc.local にマシン固有の設定やシークレットを書く。
これらのファイルは setup.zsh 実行時に自動で作成され、git には含まれない。
| ファイル | 用途 |
|---|---|
~/.zprofile.local |
ログインシェル用(API キー、PATH 追加など) |
~/.zshrc.local |
インタラクティブシェル用(エイリアス、関数など) |
# ~/.zprofile.local の例
export GITHUB_TOKEN="ghp_xxxx"
export AWS_ACCESS_KEY_ID="AKIA..."
export AWS_SECRET_ACCESS_KEY="..."