diff --git a/.chezmoitemplates/dot_gitconfig_linux.tmpl b/.chezmoitemplates/dot_gitconfig_linux.tmpl index 4085ac9..1892e24 100644 --- a/.chezmoitemplates/dot_gitconfig_linux.tmpl +++ b/.chezmoitemplates/dot_gitconfig_linux.tmpl @@ -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 diff --git a/.chezmoitemplates/dot_gitconfig_windows.tmpl b/.chezmoitemplates/dot_gitconfig_windows.tmpl index abf786c..d0382a9 100644 --- a/.chezmoitemplates/dot_gitconfig_windows.tmpl +++ b/.chezmoitemplates/dot_gitconfig_windows.tmpl @@ -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" diff --git a/.chezmoitemplates/dot_gitconfig_wsl.tmpl b/.chezmoitemplates/dot_gitconfig_wsl.tmpl index 0d1629d..f8cb0de 100644 --- a/.chezmoitemplates/dot_gitconfig_wsl.tmpl +++ b/.chezmoitemplates/dot_gitconfig_wsl.tmpl @@ -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 diff --git a/dot_config/fish/config.fish b/dot_config/fish/config.fish index f6a2ed6..8f0b84f 100644 --- a/dot_config/fish/config.fish +++ b/dot_config/fish/config.fish @@ -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