This commit is contained in:
jay 2022-10-23 21:33:57 +08:00
parent 44ee4cca95
commit 953c01349b
3 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,8 @@ depends = []
js_linter = "\"standard\"" js_linter = "\"standard\""
# fixer can be "standard" or "prettier" # fixer can be "standard" or "prettier"
js_fixer = "\"standard\"" js_fixer = "\"standard\""
enableTmux = false
sshAgent = false
[zsh.files] [zsh.files]
zprofile = "~/.zprofile" zprofile = "~/.zprofile"

View File

@ -8,3 +8,4 @@ js_fixer = "\"prettier\""
email = "jay@lawsnote.com" email = "jay@lawsnote.com"
git_username = "jay" git_username = "jay"
enableTmux = false enableTmux = false
sshAgent = false

View File

@ -1,3 +1,4 @@
{{#if sshAgent}}
# `$HOME/bin/start-agent` # `$HOME/bin/start-agent`
SSH_ENV="$HOME/.ssh/agent-environment" SSH_ENV="$HOME/.ssh/agent-environment"
@ -21,6 +22,7 @@ if [ -f "${SSH_ENV}" ]; then
else else
start_agent; start_agent;
fi fi
{{/if}}
function envf { function envf {
if [ ! -f "$1" ]; then if [ ! -f "$1" ]; then