Updated dotfiles
This commit is contained in:
parent
4572573132
commit
a797c569af
1 changed files with 7 additions and 5 deletions
12
zsh/.zshrc
12
zsh/.zshrc
|
|
@ -208,11 +208,13 @@ export PATH="$BUN_INSTALL/bin:$PATH"
|
|||
# SSH Agent for persistent tunnel (Baserow, etc.)
|
||||
export SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket
|
||||
|
||||
# Reminder to add SSH key after reboot
|
||||
if ! ssh-add -l &>/dev/null; then
|
||||
echo "🔑 Reminder: Add your Vultr SSH key for blog automation:"
|
||||
echo " ssh-add ~/.ssh/id_ed25519_vultr"
|
||||
fi
|
||||
# SSH keys - auto-add if agent is running but keys not loaded
|
||||
# Load main key (check by fingerprint, not email - OPSEC)
|
||||
ssh-add -l 2>/dev/null | grep -q "Tq/46I0GfFmme7/tyb/BFhj" || {
|
||||
ssh-add ~/.ssh/id_ed25519 2>/dev/null || echo "🔑 Run: ssh-add ~/.ssh/id_ed25519"
|
||||
}
|
||||
# Load additional keys from local config (not committed - contains infra-specific paths)
|
||||
[[ -f ~/.ssh/autoload ]] && source ~/.ssh/autoload
|
||||
|
||||
# Deduplicate PATH at the end (after all PATH modifications)
|
||||
export PATH=$(echo "$PATH" | tr ':' '\n' | awk '!seen[$0]++' | paste -sd:)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue