]> git.friedersdorff.com Git - max/dotfiles.git/blob - bash/.bash_profile
Change the way gpg agent is called
[max/dotfiles.git] / bash / .bash_profile
1 export NPM_PACKAGES="$HOME/.npm-packages"
2 export EDITOR="/usr/bin/vim"
3 export PAGER="/usr/bin/less"
4 export PATH="/home/max/.local/bin:$NPM_PACKAGES/bin:$HOME/.gem/ruby/2.1.0/bin/:$HOME/.rvm/bin:${PATH}"
5 [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
6 unset MANPATH
7 MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
8 NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
9
10 if [ -n "$BASH_VERSION" ]; then
11   # include .bashrc if it exists
12   if [ -f "$HOME/.bashrc" ]; then
13     . "$HOME/.bashrc"
14   fi
15 fi
16
17 if [ -f /etc/bash_completion ]; then
18   . /etc/bash_completion
19 fi
20
21 export TMPDIR="/home/max/.local/tmp"
22
23 gpg-agent --daemon --enable-ssh-support \
24   --write-env-file "${HOME}/.gpg-agent-info"