This commit is contained in:
reonokiy 2025-02-21 19:25:08 +08:00
parent 1743620336
commit 00ab7446bb
Signed by: reonokiy
SSH key fingerprint: SHA256:2VjKpUxMIe0QYY3OVnOMuPiB0X5pvrIpJ+UiyFhxtq0
2 changed files with 33 additions and 10 deletions

View file

@ -1,9 +1,9 @@
[gpg] [gpg]
format = ssh format = ssh
[gpg "ssh"] [gpg "ssh"]
program = "/opt/1Password/op-ssh-sign" program = "/opt/1Password/op-ssh-sign"
[commit] [commit]
gpgsign = true gpgsign = true
[user] [user]
signingkey = {{ .git.default.publicKey }} signingkey = {{ .git.default.publicKey }}
name = {{ .git.default.name }} name = {{ .git.default.name }}
@ -13,4 +13,17 @@
helper = oauth helper = oauth
[hub] [hub]
protocol = ssh protocol = ssh
[http]
postBuffer = 624288000
[lfs]
concurrenttransfers = 10
activitytimeout = 3600
dialtimeout = 3600
keepalive = 3600
tlstimeout = 3600
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true

View file

@ -2,29 +2,39 @@
set fish_greeting set fish_greeting
# nix # nix
if command -v nix > /dev/null if command -v nix >/dev/null
fish_add_path ~/.nix-profile/bin fish_add_path ~/.nix-profile/bin
end end
# direnv # direnv
if command -v direnv > /dev/null if command -v direnv >/dev/null
direnv hook fish | source direnv hook fish | source
set -g direnv_fish_mode eval_on_arrow set -g direnv_fish_mode eval_on_arrow
end end
# starship # starship
if command -v starship > /dev/null if command -v starship >/dev/null
source (starship init fish --print-full-init | psub) source (starship init fish --print-full-init | psub)
end end
# zoxide # zoxide
if command -v zoxide > /dev/null if command -v zoxide >/dev/null
zoxide init fish | source zoxide init fish | source
end end
# micromamba # micromamba
if command -v micromamba > /dev/null if command -v micromamba >/dev/null
set -gx MAMBA_EXE "/usr/bin/micromamba" set -gx MAMBA_EXE /usr/bin/micromamba
set -gx MAMBA_ROOT_PREFIX "/home/oune/.local/share/mamba" set -gx MAMBA_ROOT_PREFIX "/home/oune/.local/share/mamba"
$MAMBA_EXE shell hook --shell fish --root-prefix $MAMBA_ROOT_PREFIX | source $MAMBA_EXE shell hook --shell fish --root-prefix $MAMBA_ROOT_PREFIX | source
alias conda=micromamba
alias mamba=micromamba
alias ma="micromamba env activate"
alias mda="micromamba env activate base"
alias mel="micromamba env list"
end
# fnm
if command -v fnm >/dev/null
fnm env --use-on-cd --shell fish | source
end end