Skip to content

t-chov/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Files for my developing environment.

requirements

  • zsh
  • sheldon
  • ghq
  • peco
  • starship
  • fnm
  • uv

usage

  1. exec ./setup.zsh
  2. sheldon lock (downloads all plugins)

Installation

install zsh

# windows
sudo apt install zsh
zsh
# press q
./setup.zsh

change default shell (Linux)

chsh -s $(which zsh)

ログアウト後に再ログインすると反映される。

install powerline fonts

install sheldon

curl --proto '=https' -fLsS https://rossmacarthur.github.io/install/tool.sh \
  | bash -s -- --repo rossmacarthur/sheldon --to ~/.local/bin

install ghq

go install github.com/x-motemen/ghq@latest

install peco

go install github.com/peco/peco/cmd/peco@latest

install starship

curl -sS https://starship.rs/install.sh | sh

install fnm

curl -fsSL https://fnm.vercel.app/install | bash

インストール後、fnm install <version> で Node.js をインストールする。

install Go

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.

install uv

curl -LsSf https://astral.sh/uv/install.sh | sh

インストール後、uv python install <version> で Python をインストールする。

machine-local / secret env vars

~/.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="..."

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors