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