dotfiles v1.1.10

This commit is contained in:
2026-06-26 19:27:16 +00:00
parent a16e722d8b
commit 5b09d61975
2 changed files with 8 additions and 10 deletions

View File

@@ -46,19 +46,17 @@ dotfiles publish # Bump version, commit, push
```
~/.config/fish/
├── config.fish Main entry point — version, PATH, interactive setup
├── config.fish Version, git identity helper
├── install.fish Bootstrap/install script (also at repo root)
├── README.md This file
├── conf.d/
│ └── aliases.fish Example: Git abbreviations, helper functions
│ └── aliases.fish Git abbreviations, directory helpers
├── functions/
│ ├── dotfiles.fish The `dotfiles` command and all subcommands
│ └── keyme.fish Helper: generate SSH key for Gitea
│ └── keyme.fish Generate SSH key for Gitea + set Git identity
└── dotfiles/
├── tmux.conf Template → ~/.tmux.conf
── gitconfig Template → ~/.gitconfig
└── config/
└── starship.toml Template → ~/.config/starship.toml
── gitconfig Template → ~/.gitconfig
```
## How It Works
@@ -74,9 +72,9 @@ new version (auto-suggested minor bump, or custom), and both the local
Each file in `~/.config/fish/dotfiles/` is a template. When you run
`dotfiles init`, templates are copied to `~/` with a leading dot prepended
(e.g. `tmux.conf``~/.tmux.conf`). Templates in subdirectories are
placed under `~/` preserving the path (e.g. `config/starship.toml`
`~/.config/starship.toml`).
(e.g. `tmux.conf``~/.tmux.conf`). Templates containing a `/` in their
name are placed under `~/` preserving the relative path (e.g.
`vim/vimrc``~/.vim/vimrc`).
To add a new dotfile, simply drop a template file into `dotfiles/` and run
`dotfiles init <name>`. No registration needed.