aboutsummaryrefslogtreecommitdiff
path: root/dot_zshrc.tmpl
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-12-13 16:19:59 -0500
committerRyan Kavanagh <rak@rak.ac>2021-12-13 16:19:59 -0500
commiteac6c0a2b3bfb8a8ded117918ff0bfd30e974aea (patch)
tree9bc64330b94a34b69c59e413df08aea98baff1d9 /dot_zshrc.tmpl
parentMigrating to chezmoi (diff)
Templated zshrc
Diffstat (limited to '')
-rw-r--r--dot_zshrc.tmpl (renamed from dot_zshrc)7
1 files changed, 3 insertions, 4 deletions
diff --git a/dot_zshrc b/dot_zshrc.tmpl
index 54d4e57..b233088 100644
--- a/dot_zshrc
+++ b/dot_zshrc.tmpl
@@ -32,7 +32,7 @@
# BEGIN LOCAL
-export LANG="LOCALE"
+export LANG="{{ .locale }}"
export LC_TIME="en_GB.UTF-8"
export LC_COLLATE=C # force strict lexicographic sorting
export TIME_STYLE=long-iso # make ls -l use YYYY-MM-DD in dired
@@ -639,9 +639,8 @@ NO_verbose \
# GPG / SSH AGENT
-if [ "xKEYCHAIN" != "x" ]; then
- keychain KEYCHAIN
- #keychain -Q ${GPGKEY} ${GPGKEY1}
+if command -v keychain; then
+ keychain {{ .keychain_keys }}
[ -z "$HOSTNAME" ] && HOSTNAME=`uname -n`
[ -f $HOME/.keychain/$HOSTNAME-sh ] &&
. $HOME/.keychain/$HOSTNAME-sh