comparison zshrc-gentoo @ 72:42efae6b3fe2

source the keychain gpg file separately
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 08 Jul 2015 16:37:26 +0200
parents 5af04798adef
children a48ea5d61dee
comparison
equal deleted inserted replaced
71:fdc372a00e4d 72:42efae6b3fe2
3 # 3 #
4 4
5 # keychain setup: authenticate to remote hosts only once 5 # keychain setup: authenticate to remote hosts only once
6 local keychain_init_file=$HOME/.keychain/${HOST}-sh 6 local keychain_init_file=$HOME/.keychain/${HOST}-sh
7 if [ -r ${keychain_init_file} ]; then 7 if [ -r ${keychain_init_file} ]; then
8 . ${keychain_init_file}
9 fi
10 keychain_init_file=$HOME/.keychain/${HOST}-sh-gpg
11 if [ -r ${keychain_init_file} ]; then
8 . ${keychain_init_file} 12 . ${keychain_init_file}
9 . ${keychain_init_file}-gpg
10 fi 13 fi
11 14
12 # custom environment variables 15 # custom environment variables
13 export EDITOR=/usr/bin/nano 16 export EDITOR=/usr/bin/nano
14 export PATH="${PATH}":/opt/bin 17 export PATH="${PATH}":/opt/bin