]> git.friedersdorff.com Git - max/dotfiles.git/blobdiff - bash/.bash_profile
Set GPG_AGENT_INFO env variable manually
[max/dotfiles.git] / bash / .bash_profile
index 106bfe29d732ce376ed82e82591887aafe46becc..6b6f965a718ab435c13c1b9687db65cf20b058e5 100644 (file)
@@ -1,5 +1,5 @@
-export EDITOR="/usr/bin/vim"
-export PAGER="/usr/bin/less"
+export EDITOR="emc"
+export PAGER="/usr/bin/less -R"
 export PATH="/home/max/.local/bin:${PATH}"
 
 if [ -n "$BASH_VERSION" ]; then
@@ -15,5 +15,6 @@ fi
 
 export TMPDIR="/home/max/.local/tmp"
 
-gpg-agent --daemon --enable-ssh-support \
-  --write-env-file "${HOME}/.gpg-agent-info"
+gpg-agent --daemon
+
+export GPG_AGENT_INFO="${GNUPGHOME:-${HOME}/.gnupg}/S.gpg-agent:-1:1"