update git time

This commit is contained in:
reonokiy 2025-05-14 00:36:03 +08:00
parent c209f8d2be
commit 8cf2889552
Signed by: reonokiy
SSH key fingerprint: SHA256:2VjKpUxMIe0QYY3OVnOMuPiB0X5pvrIpJ+UiyFhxtq0
4 changed files with 12 additions and 5 deletions

View file

@ -9,7 +9,7 @@
name = {{ .git.default.name }}
email = {{ .git.default.email }}
[credential]
helper = cache --timeout 86400
helper = cache --timeout 604800
helper = oauth
[hub]
protocol = ssh

View file

@ -9,7 +9,7 @@
name = {{ .git.default.name }}
email = {{ .git.default.email }}
[credential]
helper = cache --timeout 86400
helper = cache --timeout 604800
helper = oauth
[core]
sshCommand = "C:/Windows/System32/OpenSSH/ssh.exe"

View file

@ -16,5 +16,5 @@
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[credential]
helper = cache --timeout 21600
helper = cache --timeout 604800
helper = oauth

View file

@ -1,9 +1,16 @@
# disable fish greeting
set fish_greeting
# go
set -gx GOPATH $HOME/.go
fish_add_path $GOPATH/bin
# uv
fish_add_path $HOME/.local/bin
# nix
if command -v nix >/dev/null
fish_add_path ~/.nix-profile/bin
fish_add_path $HOME/.nix-profile/bin
end
# direnv
@ -25,7 +32,7 @@ end
# micromamba
if command -v micromamba >/dev/null
set -gx MAMBA_EXE $(which micromamba)
set -gx MAMBA_ROOT_PREFIX "/home/oune/.local/share/mamba"
set -gx MAMBA_ROOT_PREFIX $HOME/.local/share/mamba
$MAMBA_EXE shell hook --shell fish --root-prefix $MAMBA_ROOT_PREFIX | source
alias conda=micromamba
alias mamba=micromamba