Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryosukedtomita/dotfiles

my dotfiles
https://github.com/ryosukedtomita/dotfiles

bashrc dotfiles dotfiles-linux gitconfig inputrc nvim oh-my-zsh shell-script tmux-conf vimrc wsl zshrc

Last synced: about 1 month ago
JSON representation

my dotfiles

Awesome Lists containing this project

README

        

# dotfiles

## INDEX

- [ABOUT](#about)
- [ENVIRONMENT](#environment)
- [PREPARING](#preparing)
- [HOW TO USE](#how-to-use)
- [MEMO](#memo)

---

## ABOUT

Manage .dotfiles.

> [!NOTE]
> I decided to use [ohmyzsh](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/vi-mode) from 2024/08/22.
> This is the [archive](https://github.com/RyosukeDTomita/dotfiles/tree/archive/before-ohmyzsh) 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.

```shell
git clone RyosukeDTomita/dotfiles.git
```

2. install tmux

3. install VSCode

4. install zsh

```shell
sudo apt install zsh
```

---

## HOW TO USE

```shell
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](https://github.com/microsoft/vscode-remote-release/issues/3517)

### VSCode

```shell
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

- Dev Containersかどうかを`REMOTE_CONTAINERS=true`の環境変数で識別している。参考: [GitHub issue](https://github.com/microsoft/vscode-remote-release/issues/3517)
- [nvimのバージョンを上げたらvim-lspのエラーがでるようになった話](https://x.com/sigma5736394841/status/1826319333402042729)