Skip to content

hsteinshiromoto/dotfiles

Repository files navigation

GitHub tag (latest SemVer) LICENSE

dotfiles

My dotfiles.

Repository Structure

Note that the structure of this repository must be the same as the structure as the config files in the $HOME folder.

.
├── .bashrc
├── .config
│   ├── btop
│   │   └── btop.conf
│   ├── kitty
│   │   ├── kitty.conf
│   │   ├── monokai_classic.conf
│   │   ├── monokai_machine.conf
│   │   ├── monokai_octagon.conf
│   │   ├── monokai_pro.conf
│   │   ├── monokai_ristretto.conf
│   │   └── monokai_spectrum.conf
│   └── mc
│       ├── hotlist
│       ├── ini
│       ├── mc.ext
│       ├── mc.ext.ini
│       └── panels.ini
├── .gnupg
│   ├── gpg-agent.conf
│   └── gpg.conf
├── .ssh
│   └── config.template
├── .stow-local-ignore
├── .tmux.conf
├── .vimrc
├── .zshrc
├── Brewfile
├── LICENSE
├── Library
│   └── Application Support
│       ├── Code
│       │   └── User
│       │       └── settings.json
│       └── espanso
│           ├── config
│           │   └── default.yml
│           ├── match
│           │   ├── base.yml
│           │   ├── git.yml
│           │   ├── obsidian.yml
│           │   └── packages
│           └── user
├── Makefile
├── README.md
└── dotfiles.code-workspace

Install

1. Requirements

Git

For MacOS install with XCode

xcode-select --install

2. Clone this Repository and Install Ansible

Run

bash -c "$(curl -fsSL https://raw.githubusercontent.com/hsteinshiromoto/dotfiles/main/bin/install.sh)"

3. Run Playbook

In the $HOME/dotfiles folder, run

make install

Workflow

New .dotfile

  1. Create an empty file in the correct location in the repository.
  2. Create the desired file in the config folder.
  3. Run $ stow . --adopt
  4. Add file to the version control.

Known Bugs

Copy from tmux terminal in VSCode

References

[1] https://systemcrafters.net/managing-your-dotfiles/using-gnu-stow/