- prevent path traversal in ais plugin rm (reject .. and /) - validate plugin_add requires user/repo format - extract list_plugins() helper to deduplicate code - add git aliases (s, d, l, lg, pa for dual push, etc) - add cargo/rg aliases and mkcd helper to zshrc - fix zr alias (source instead of unreachable exec)
36 lines
657 B
INI
36 lines
657 B
INI
[user]
|
|
name = ai
|
|
email = ai@syui.ai
|
|
signingkey = F33093BEA3A4BEA4521901A17CBAC5071C3EB395
|
|
[commit]
|
|
gpgsign = true
|
|
[core]
|
|
editor = vim
|
|
[pull]
|
|
rebase = false
|
|
[init]
|
|
defaultBranch = main
|
|
[push]
|
|
autoSetupRemote = true
|
|
[alias]
|
|
s = status -sb
|
|
d = diff
|
|
ds = diff --staged
|
|
l = log --oneline -20
|
|
lg = log --oneline --graph --all -30
|
|
a = add
|
|
cm = commit -m
|
|
co = checkout
|
|
br = branch -v
|
|
p = push
|
|
pa = !git push origin main && git push gitea main
|
|
f = fetch --all
|
|
last = log -1 --stat
|
|
undo = reset --soft HEAD~1
|
|
amend = commit --amend --no-edit
|
|
wip = !git add -A && git commit -m 'wip'
|
|
[diff]
|
|
colorMoved = default
|
|
[merge]
|
|
conflictstyle = diff3
|