mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
minor fix on zsh, add wakatime
This commit is contained in:
parent
c349a6baa6
commit
bd9afd0568
4 changed files with 39 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ case "$(uname)" in
|
|||
# ;;
|
||||
esac
|
||||
|
||||
for file in $DOTFILES/home/dot_config/zsh/mod/*.zsh; do
|
||||
for file in $ZDOTDIR/mod/*.zsh; do
|
||||
source $file
|
||||
done
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@ export IPYTHONDIR="$XDG_CONFIG_HOME"/ipython
|
|||
|
||||
{{ if .manageSecret }}
|
||||
|
||||
export OPENROUTER_API_KEY={{- "secrets/OPENROUTER_API_KEY.age" | include | decrypt -}}
|
||||
export OPENROUTER_API_KEY={{- "secrets/OPENROUTER_API_KEY.age" | include | decrypt | quote -}}
|
||||
|
||||
{{ end }}
|
||||
|
|
|
|||
29
home/dot_wakatime.cfg.tmpl
Normal file
29
home/dot_wakatime.cfg.tmpl
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
[settings]
|
||||
debug = false
|
||||
hidefilenames = false
|
||||
ignore =
|
||||
COMMIT_EDITMSG$
|
||||
PULLREQ_EDITMSG$
|
||||
MERGE_MSG$
|
||||
TAG_EDITMSG$
|
||||
exclude =
|
||||
^COMMIT_EDITMSG$
|
||||
^TAG_EDITMSG$
|
||||
*.md
|
||||
*.org
|
||||
*.txt
|
||||
*.log
|
||||
include =
|
||||
readme.md
|
||||
README.md
|
||||
readme.org
|
||||
README.org
|
||||
readme.txt
|
||||
README.txt
|
||||
readme
|
||||
README
|
||||
{{- if .manageSecret }}
|
||||
api_key= {{- "secrets/wakatime_api_key.age" | include | decrypt -}}
|
||||
{{- else }}
|
||||
api_key="YOUR_API_KEY"
|
||||
{{- end }}
|
||||
8
home/secrets/wakatime_api_key.age
Normal file
8
home/secrets/wakatime_api_key.age
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBVcXg3U2JzZmZBKzY3b216
|
||||
bnY4UFlqbjcwMWRNYU9ORS82NmhJUVo1WmhJCndwUVZpYmVwUGRES1hFNlB4cHJB
|
||||
Z01BZWdONEVFR3JsdFBsV2wyM3FXeHMKLS0tIE55WGNSMk0rYUVibzM3RXE4dFhr
|
||||
Y2krUWx6RVhaMWVRSWJlY2Y2b2krNHMKAAcsxyH6rCIohp4UOeOHq2PLwjNuTH2Z
|
||||
LkwG9TFMd7ogeAXepz7h0za/fFKJt9pPQzrckBxHQ6ru0+lQBJZk/tdP6tcGjfxi
|
||||
N8I=
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
Loading…
Add table
Add a link
Reference in a new issue