move gpgtty export, remove gpgagent, add nvm stuff. (won't work on my machine)

This commit is contained in:
Ian Rettig
2025-02-18 11:05:52 -05:00
parent 36df745d0f
commit f8c16e0da3
+7 -14
View File
@@ -135,22 +135,15 @@ if [ -f $HOME/.exports ]; then
source $HOME/.exports
fi
# Set GPG TTY
export GPG_TTY=$(tty)
## Refresh gpg-agent tty in case user switches into an X session
#gpg-connect-agent updatestartuptty /bye >/dev/null
## Set SSH to use gpg-agent
#unset SSH_AGENT_PID
#if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
# export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
#fi
## Start the gpg-agent if not already running
#if ! pgrep -x -u "${USER}" gpg-agent >/dev/null 2>&1; then
# gpg-connect-agent /bye >/dev/null 2>&1
#fi
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# Set GPG TTY
export GPG_TTY=$(tty)
eval "$(uv generate-shell-completion zsh)"
eval "$(uvx --generate-shell-completion zsh)"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion