Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .chezmoiignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ com.googlecode.iterm2.plist
.claude
CLAUDE.md
.chezmoiscripts/**
.config/namecheap
{{ end -}}
5 changes: 5 additions & 0 deletions dot_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -169,5 +169,10 @@ alias reload="exec ${SHELL} -l"
# Sync dotfiles repo to $HOME (chezmoi's sourceDir points at the clone)
alias dotfiles='chezmoi apply'

# namecheap-cli with credentials injected per-invocation from 1Password.
# ~/.config/namecheap/env holds op:// references, not secrets; `op run`
# resolves them into just this process. One biometric okay per app unlock.
alias nc-cli='op run --env-file ~/.config/namecheap/env -- namecheap-cli'

# Print each PATH entry on a separate line
alias path='echo -e ${PATH//:/\\n}'
4 changes: 4 additions & 0 deletions dot_config/namecheap/env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 1Password secret REFERENCES for namecheap-cli — not secrets, safe to commit.
# Resolved at runtime by `op run --env-file` (see nc-cli alias in .aliases).
NAMECHEAP_USERNAME="op://Personal/www.namecheap.com/username"
NAMECHEAP_API_KEY="op://Personal/www.namecheap.com/API/credential"
7 changes: 6 additions & 1 deletion dot_gitconfig.local.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@
allowedSignersFile = ~/.config/git/allowed_signers

# Work identity follows the remote: any repo whose remote uses the
# github-icaevan SSH alias gets the icanalytica identity (requires git 2.36+).
# github-icaevan SSH alias or an HTTPS URL under a work org gets the
# icanalytica identity (requires git 2.36+).
[includeIf "hasconfig:remote.*.url:github-icaevan:*/**"]
path = ~/.gitconfig-ica
[includeIf "hasconfig:remote.*.url:git@github-icaevan:*/**"]
path = ~/.gitconfig-ica
[includeIf "hasconfig:remote.*.url:https://github.com/icanalytica/**"]
path = ~/.gitconfig-ica
[includeIf "hasconfig:remote.*.url:https://github.com/icarichie/**"]
path = ~/.gitconfig-ica
[commit]
gpgsign = true

Expand Down
Loading