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.)
|
# SSH Agent for persistent tunnel (Baserow, etc.)
|
||||||
export SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket
|
export SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket
|
||||||
|
|
||||||
# Reminder to add SSH key after reboot
|
# SSH keys - auto-add if agent is running but keys not loaded
|
||||||
if ! ssh-add -l &>/dev/null; then
|
# Load main key (check by fingerprint, not email - OPSEC)
|
||||||
echo "🔑 Reminder: Add your Vultr SSH key for blog automation:"
|
ssh-add -l 2>/dev/null | grep -q "Tq/46I0GfFmme7/tyb/BFhj" || {
|
||||||
echo " ssh-add ~/.ssh/id_ed25519_vultr"
|
ssh-add ~/.ssh/id_ed25519 2>/dev/null || echo "🔑 Run: ssh-add ~/.ssh/id_ed25519"
|
||||||
fi
|
}
|
||||||
|
# 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)
|
# Deduplicate PATH at the end (after all PATH modifications)
|
||||||
export PATH=$(echo "$PATH" | tr ':' '\n' | awk '!seen[$0]++' | paste -sd:)
|
export PATH=$(echo "$PATH" | tr ':' '\n' | awk '!seen[$0]++' | paste -sd:)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue