Skip to content

Commit

Permalink
feat: improve mise configuration
Browse files Browse the repository at this point in the history
Signed-off-by: wrightbradley <[email protected]>
  • Loading branch information
wrightbradley committed Dec 11, 2024
1 parent 34e1786 commit f04786a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
27 changes: 25 additions & 2 deletions home/dot_config/mise/config.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
[env]
#SSH_AUTH_SOCK = $(gpgconf --list-dirs agent-ssh-socket)
_.python.venv = { path = '.venv', create = true }
UV_PYTHON = "3.12"

[tools]
# global tool versions go here
# you can set these with `mise use -g`
fzf = "0.56.3"
go = ["1.22", "1.23"]
kubectl = "1.31.4"
kubectx = ["0.9.5"]
kustomize = "5.5.0"
node = ['lts', '20', '22']
python = ['3.11', '3.12']
opentofu = "1.8.7"
pre-commit = "latest"
python = ['3.11', '3.12', '3.13']
terraform = "1.5.7"
terragrunt = "0.69.10"
usage = "latest"
go = "1.23.0"
uv = "0.5.8"
# "go:github.com/gcla/termshark/v2/cmd/termshark" = ["2.4.0"]
"pipx:ansible-core" = { version = "latest", uvx_args = "--with ansible" }


# [hooks]
# enter = "echo 'mise: loading env' && mise install"

[settings]
# plugins can read the versions files used by other version managers (if enabled by the plugin)
Expand Down Expand Up @@ -51,6 +71,9 @@ experimental = true # enable experimental features
# configure messages displayed when entering directories with config files
status = { missing_tools = "if_other_versions_installed", show_env = false, show_tools = false }

pipx.uvx = true
python.uv_venv_auto = true

# "_" is a special key for information you'd like to put into mise.toml that mise will never parse
[_]
foo = "bar"
2 changes: 2 additions & 0 deletions home/dot_gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2332,4 +2332,6 @@ FodyWeavers.xsd

# End of https://www.toptal.com/developers/gitignore/api/macos,linux,windows,xcode,vim,database,ansible,java,lamp,sass,yarn,bazel,maven,backup,packer,vagrant,lua,mean,cmake,react,django,reactnative,localstack,terraform,terragrunt,visualstudio,homeassistant,virtualenv,diskimage,compressedarchive,certificates,executable,homebrew,sonarqube,c,c++,archive,vercel,lighthouseci,visualstudiocode,direnv,dotenv,pydev,redis,godot,helm,perl,venv,nextjs,vuejs,serverless,node,autohotkey,dotfilessh,firebase,latex,rust,grunt,compressed,git,jsonnet,python,go

# Mise Config
mise.local.toml
# Temporary Ignore Files
2 changes: 1 addition & 1 deletion home/dot_zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)

eval "$(direnv hook zsh)"
eval "$(zoxide init --cmd cd zsh)"
eval "$(mise activate zsh)"
eval "$(/opt/homebrew/bin/mise activate zsh)"

export KUBECONFIG="$HOME/.kube/config"
export PATH="$HOME/bin:$HOME/.local/bin:/usr/local/sbin:$PATH"
Expand Down

0 comments on commit f04786a

Please sign in to comment.