diff --git a/dotfiles/gitconfig b/dotfiles/gitconfig index 142cd2e..f77b136 100644 --- a/dotfiles/gitconfig +++ b/dotfiles/gitconfig @@ -5,7 +5,8 @@ defaultBranch = main [push] autoSetupRemote = true - followTags = true # push annotated tags along with the commits + # No followTags: fetch auto-follows tags from every remote, so it would push + # a fork's tags to your origin. Push tags explicitly: git push origin [fetch] prune = true [rerere] diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 9290e7c..ea40e81 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -35,6 +35,11 @@ if command -v bat >/dev/null && [[ -z "$FZF_CTRL_T_OPTS" ]]; then export FZF_CTRL_T_OPTS="--preview 'bat --color=always --style=numbers --line-range=:500 {}'" fi +# mise asks before using a cloned repo's .tool-versions (it already does for +# mise.toml), and never installs a tool just because you typed its name. +export MISE_PARANOID="${MISE_PARANOID:-1}" +export MISE_NOT_FOUND_AUTO_INSTALL="${MISE_NOT_FOUND_AUTO_INSTALL:-false}" + # Tools command -v starship >/dev/null && eval "$(starship init zsh)" command -v mise >/dev/null && eval "$(mise activate zsh)"