]> git.friedersdorff.com Git - max/dotfiles.git/blobdiff - bash/.bash_profile
Remove PAGER for environment variables
[max/dotfiles.git] / bash / .bash_profile
index 955f6aace7abfd41ce907a9083104922bd3b188c..f9ff4cd3e762cfc84b55484401e5b3e39627f2d3 100644 (file)
@@ -1,11 +1,6 @@
-export NPM_PACKAGES="$HOME/.npm-packages"
-export EDITOR="/usr/bin/vim"
-export PAGER="/usr/bin/less"
-export PATH="/home/max/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 PATH="/home/max/.local/bin:${PATH}"
+export TMPDIR="/home/max/.local/tmp"
 
 if [ -n "$BASH_VERSION" ]; then
   # include .bashrc if it exists
@@ -18,11 +13,4 @@ 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
+