1 export NPM_PACKAGES="$HOME/.npm-packages"
2 export EDITOR="/usr/bin/vim"
3 export PAGER="/usr/bin/less"
4 export PATH="/home/max/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"
7 MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
8 NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
10 if [ -n "$BASH_VERSION" ]; then
11 # include .bashrc if it exists
12 if [ -f "$HOME/.bashrc" ]; then
17 if [ -f /etc/bash_completion ]; then
18 . /etc/bash_completion
21 envfile="$HOME/.gnupg/gpg-agent.env"
22 if [[ -e "$envfile" ]] && kill -0 $(grep GPG_AGENT_INFO "$envfile" | cut -d: -f 2) 2>/dev/null; then
23 eval "$(cat "$envfile")"
25 eval "$(gpg-agent --daemon --enable-ssh-support --write-env-file "$envfile")"
27 export GPG_AGENT_INFO # the env file does not contain the export statement
28 export SSH_AUTH_SOCK # enable gpg-agent for ssh