dotfiles

config files and scripts at HOME.
git clone git://git.ricketyspace.net/dotfiles.git
Log | Files | Refs

commit d054a47a2c2d322a57a77f3c35020bbc30055f4e
parent a7cd971751bb62ed4c1d1dadc5a04fd030a1ecab
Author: rsiddharth <s@ricketyspace.net>
Date:   Fri, 26 May 2017 22:03:45 +0000

.env: Add file.

* .env: New file.
* .zshenv: Move KEYCHAIN_ENV to .env.

Diffstat:
.env | 5+++++
.zshenv | 10++++------
2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/.env b/.env @@ -0,0 +1,5 @@ +# keychain +KEYCHAIN_ENV=${HOME}'/.keychain/'$(hostname)'-sh' +if [ -f $KEYCHAIN_ENV ]; then + . $KEYCHAIN_ENV +fi diff --git a/.zshenv b/.zshenv @@ -1,3 +1,7 @@ +# source env. +# source environment vars. +. ${HOME}'/.env' + # editor export EDITOR='emacsclient -c --alternate-editor nano' @@ -56,12 +60,6 @@ export INFOPATH=${GUIX_PROFILE}'/share/info:' export SSL_CERT_FILE='/etc/ssl/certs/ca-certificates.crt' -# keychain -KEYCHAIN_ENV=${HOME}'/.keychain/'$(hostname)'-sh' -if [[ -f $KEYCHAIN_ENV ]]; then - . $KEYCHAIN_ENV -fi - # git export GIT_EXEC_PATH=/usr/lib/git-core