NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
if [ -n "$BASH_VERSION" ]; then
- # include .bashrc if it exists
- if [ -f "$HOME/.bashrc" ]; then
- . "$HOME/.bashrc"
- fi
+ # include .bashrc if it exists
+ if [ -f "$HOME/.bashrc" ]; then
+ . "$HOME/.bashrc"
+ fi
fi
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
+
+envfile="$HOME/.gnupg/gpg-agent.env"
+if [[ -e "$envfile" ]] && kill -0 $(grep GPG_AGENT_INFO "$envfile" | cut -d: -f 2) 2>/dev/null; then
+ eval "$(cat "$envfile")"
+else
+ eval "$(gpg-agent --daemon --enable-ssh-support --write-env-file "$envfile")"
+fi
+export GPG_AGENT_INFO # the env file does not contain the export statement
+export SSH_AUTH_SOCK # enable gpg-agent for ssh
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts"
-set header_cache = ~/.mutt/com.gmail.maxf130.account/cache/headers
-set message_cachedir = ~/.mutt/com.gmail.maxf130.account/cache/bodies
-set certificate_file = ~/.mutt/com.gmail.maxf130.account/certificates
+set header_cache = ~/.mutt/com.gmail.maxf130/cache/headers
+set message_cachedir = ~/.mutt/com.gmail.maxf130/cache/bodies
+set certificate_file = ~/.mutt/com.gmail.maxf130/certificates