feat(identity): ask name/email at install, no hardcoded USER/EMAIL in the repo
- rc templates carry @USER@/@EMAIL@ placeholders; install.sh renders them - resolve_identity: an export already in ~/.bashrc or ~/.zshrc is reused silently, else IDENTITY_USER/IDENTITY_EMAIL, else a prompt, else login name + empty email - render_gitconfig generalised to render_identity_template (gitconfig unchanged) - vimrc reads g:_author/g:_email from $USER/$EMAIL instead of hardcoded values - README + CLAUDE.md
This commit is contained in:
@@ -20,7 +20,8 @@ install.sh one-shot installer (OS auto-detected)
|
||||
vim/vimrc vim config (pathogen, molokai, syntastic, NERDTree)
|
||||
vim/autoload/ pathogen loader (committed)
|
||||
vim/colors/ molokai colorscheme (committed)
|
||||
bash/bashrc-{linux,osx} OS-detected bashrc (exports USER/EMAIL identity)
|
||||
bash/bashrc-{linux,osx} OS-detected bashrc; USER/EMAIL identity = @USER@/@EMAIL@ placeholders,
|
||||
asked at install (reused from an existing rc), never tracked
|
||||
gitconfig user-scope ~/.gitconfig template, @USER@/@EMAIL@ filled at install
|
||||
tmux.conf tmux config (vi keys, tpm plugins) → ~/.config/tmux/tmux.conf, both OSes (tmux ≥ 3.1)
|
||||
zsh/{zshrc-osx,bchanot.zsh-theme} macOS zsh option: oh-my-zsh zshrc + theme porting the bash prompt
|
||||
|
||||
Reference in New Issue
Block a user