Commit eb739fff authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Move 'has' check in .profile to after PATH is config'd

parent 65a875ef
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -9,9 +9,6 @@ export VIRTUAL_ENV_DISABLE_PROMPT=yes
export GIT_SSH=$HOME/.ssh/ssh
export EDITOR="$HOME/.vim/bin/vim.remote"

has gpg-agent &&
	export SSH_AUTH_SOCK=`gpgconf --list-dirs agent-ssh-socket`


## LOCAL SOFTWARE ##

@@ -68,6 +65,13 @@ export PROMPTCOLOUR=$((($(hostname|cksum|cut -f1 -d\ ) % 6) + 31))
export CLICOLOR=yes


## Optional utilities
# Must be post-PATH-setup

has gpg-agent &&
	export SSH_AUTH_SOCK=`gpgconf --list-dirs agent-ssh-socket`


## TERMINAL SETUP ##

# do no setup if TERM is not set or dumb