From 953c01349b59de478b9bb2bb63c6efd916c130a3 Mon Sep 17 00:00:00 2001 From: jay Date: Sun, 23 Oct 2022 21:33:57 +0800 Subject: [PATCH] update --- .dotter/global.toml | 2 ++ .dotter/local.toml.example | 1 + zprofile | 2 ++ 3 files changed, 5 insertions(+) diff --git a/.dotter/global.toml b/.dotter/global.toml index 1ba4b5c..7a4335f 100644 --- a/.dotter/global.toml +++ b/.dotter/global.toml @@ -10,6 +10,8 @@ depends = [] js_linter = "\"standard\"" # fixer can be "standard" or "prettier" js_fixer = "\"standard\"" +enableTmux = false +sshAgent = false [zsh.files] zprofile = "~/.zprofile" diff --git a/.dotter/local.toml.example b/.dotter/local.toml.example index 69ade7d..28a867b 100644 --- a/.dotter/local.toml.example +++ b/.dotter/local.toml.example @@ -8,3 +8,4 @@ js_fixer = "\"prettier\"" email = "jay@lawsnote.com" git_username = "jay" enableTmux = false +sshAgent = false diff --git a/zprofile b/zprofile index 571977b..a92794b 100644 --- a/zprofile +++ b/zprofile @@ -1,3 +1,4 @@ +{{#if sshAgent}} # `$HOME/bin/start-agent` SSH_ENV="$HOME/.ssh/agent-environment" @@ -21,6 +22,7 @@ if [ -f "${SSH_ENV}" ]; then else start_agent; fi +{{/if}} function envf { if [ ! -f "$1" ]; then