Skip to content

RyosukeDTomita/dotfiles

Repository files navigation

dotfiles

INDEX


ABOUT

Manage .dotfiles.

Note

I decided to use ohmyzsh from 2024/08/22. This is the archive of before using ohmyzsh.

Warning

DO NOT include credential info .e.g. ~/.ssh/id_rsa, ~/.aws/credentials etc.


ENVIRONMENT

Ubuntu 22.04 LTS


PREPARING

  1. install this repository.
git clone RyosukeDTomita/dotfiles.git
  1. install tmux

  2. install VSCode

  3. install zsh

sudo apt install zsh

HOW TO USE

cd dotfiles/
chmod +x initall.sh
./install.sh
chmod +x install-ohmyzsh.sh
./install-ohmyzsh.sh
chmod +x install-neovim.sh
./install-neovim.sh

Note

Dev Containersで使用するinstall scriptはデフォルトで以下のファイルが実行される。

  • install.sh
  • install
  • bootstrap.sh
  • setup.sh
  • setup

Note

Dev ContainersかどうかをREMOTE_CONTAINERS=trueの環境変数で識別している。参考: GitHub issue

VSCode

ln -s $HOME/dotfiles/.config/Code/User/keybindings.json $HOME/.config/Code/User/keybindings.json
# VSCodeのsettings.jsonはちょこちょこいじるので一旦シンボリックリンクにはしない
cp $HOME/dotfiles/.config/Code/User/settings.json $HOME/.config/Code/User/settings.json

MEMO