X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=bash%2F.bash_profile;h=6b6f965a718ab435c13c1b9687db65cf20b058e5;hb=db3682a790a5380ae017b587df637873105121f0;hp=c80cb2dd74ef94227357e06a45e21e74337efec5;hpb=6064692c3e68554e4aa791befac2bf8b496e4aee;p=max%2Fdotfiles.git diff --git a/bash/.bash_profile b/bash/.bash_profile index c80cb2d..6b6f965 100644 --- a/bash/.bash_profile +++ b/bash/.bash_profile @@ -1,11 +1,6 @@ -export NPM_PACKAGES="$HOME/.npm-packages" -export EDITOR="/usr/bin/vim" -export PAGER="/usr/bin/less" -export PATH="/home/max/.local/bin:$NPM_PACKAGES/bin:$HOME/.gem/ruby/2.1.0/bin/:$HOME/.rvm/bin:${PATH}" -[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" -unset MANPATH -MANPATH="$NPM_PACKAGES/share/man:$(manpath)" -NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH" +export EDITOR="emc" +export PAGER="/usr/bin/less -R" +export PATH="/home/max/.local/bin:${PATH}" if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists @@ -20,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"