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

@@ -1,4 +1,4 @@
set -g DOTFILES_VERSION "1.1.9" set -g DOTFILES_VERSION "1.1.10"
function gitme function gitme
if test (count $argv) -lt 2 if test (count $argv) -lt 2

View File

@@ -46,19 +46,17 @@ dotfiles publish # Bump version, commit, push
``` ```
~/.config/fish/ ~/.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) ├── install.fish Bootstrap/install script (also at repo root)
├── README.md This file ├── README.md This file
├── conf.d/ ├── conf.d/
│ └── aliases.fish Example: Git abbreviations, helper functions │ └── aliases.fish Git abbreviations, directory helpers
├── functions/ ├── functions/
│ ├── dotfiles.fish The `dotfiles` command and all subcommands │ ├── 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/ └── dotfiles/
├── tmux.conf Template → ~/.tmux.conf ├── tmux.conf Template → ~/.tmux.conf
── gitconfig Template → ~/.gitconfig ── gitconfig Template → ~/.gitconfig
└── config/
└── starship.toml Template → ~/.config/starship.toml
``` ```
## How It Works ## 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 Each file in `~/.config/fish/dotfiles/` is a template. When you run
`dotfiles init`, templates are copied to `~/` with a leading dot prepended `dotfiles init`, templates are copied to `~/` with a leading dot prepended
(e.g. `tmux.conf``~/.tmux.conf`). Templates in subdirectories are (e.g. `tmux.conf``~/.tmux.conf`). Templates containing a `/` in their
placed under `~/` preserving the path (e.g. `config/starship.toml` name are placed under `~/` preserving the relative path (e.g.
`~/.config/starship.toml`). `vim/vimrc``~/.vim/vimrc`).
To add a new dotfile, simply drop a template file into `dotfiles/` and run To add a new dotfile, simply drop a template file into `dotfiles/` and run
`dotfiles init <name>`. No registration needed. `dotfiles init <name>`. No registration needed.