add mise config

This commit is contained in:
Alexander Navarro 2025-07-28 10:48:02 -04:00
parent 6b6c6e5a0b
commit 8ade0b6795
5 changed files with 531 additions and 469 deletions

View file

@ -0,0 +1,17 @@
# if "usage" is not installed show an error
if ! command -v usage &> /dev/null
echo >&2
echo "Error: usage CLI not found. This is required for completions to work in mise." >&2
echo "See https://usage.jdx.dev for more information." >&2
return 1
end
if ! set -q _usage_spec_mise_2025_7_29
set -g _usage_spec_mise_2025_7_29 (mise usage | string collect)
end
set -l tokens
if commandline -x >/dev/null 2>&1
complete -xc mise -a '(usage complete-word --shell fish -s "$_usage_spec_mise_2025_7_29" -- (commandline -xpc) (commandline -t))'
else
complete -xc mise -a '(usage complete-word --shell fish -s "$_usage_spec_mise_2025_7_29" -- (commandline -opc) (commandline -t))'
end

View file

@ -4,4 +4,7 @@ if status is-interactive
# Commands to run in interactive sessions can go here # Commands to run in interactive sessions can go here
zoxide init --cmd cd fish | source zoxide init --cmd cd fish | source
atuin init fish | source atuin init fish | source
mise activate fish | source
end end

View file

@ -203,9 +203,6 @@ git:
autoStageResolvedConflicts: true autoStageResolvedConflicts: true
# Command used when displaying the current branch git log in the main window # Command used when displaying the current branch git log in the main window
branchLogCmd: git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium {{branchName}} -- branchLogCmd: git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium {{branchName}} --
# Command used to display git log of all branches in the main window.
# Deprecated: User `allBranchesLogCmds` instead.
allBranchesLogCmd: git log --graph --all --color=always --abbrev-commit --decorate --date=relative --pretty=medium
# If true, do not spawn a separate process when using GPG # If true, do not spawn a separate process when using GPG
overrideGpg: false overrideGpg: false
# If true, do not allow force pushes # If true, do not allow force pushes
@ -241,6 +238,8 @@ git:
# When copying commit hashes to the clipboard, truncate them to this # When copying commit hashes to the clipboard, truncate them to this
# length. Set to 40 to disable truncation. # length. Set to 40 to disable truncation.
truncateCopiedCommitHashesTo: 12 truncateCopiedCommitHashesTo: 12
allBranchesLogCmds:
- git log --graph --all --color=always --abbrev-commit --decorate --date=relative --pretty=medium
# Periodic update checks # Periodic update checks
update: update:
# One of: 'prompt' (default) | 'background' | 'never' # One of: 'prompt' (default) | 'background' | 'never'

View file

@ -1,11 +1,54 @@
[tools] [tools]
# ── Languages ─────────────────────────────────────────────────────────
node = 'lts' node = 'lts'
# python = {version='3', virtualenv='.venv'} # python = {version='3', virtualenv='.venv'}
python = { version = '3' } # setting virtualenv adds a virtualenv in every directory python = { version = '3' } # setting virtualenv adds a virtualenv in every directory
# php = "8.2" # php = "8.2"
go = "latest" go = "latest"
tree-sitter = "latest"
uv = "latest"
# cargo-binstall = "latest"
# ── Formatters and linters ────────────────────────────────────────────
# Biome = "latest"
# gitleaks = "latest"
# ruff = "latest"
# shellcheck = "latest"
# markdownlint-cli2 = "latest"
# stylua = "latest"
# pint = "latest"
# shfmt = "latest"
# taplo = "latest"
# ── CLI Tools ─────────────────────────────────────────────────────────
age = "latest"
agebox = "latest"
bat = "latest"
duf = "latest"
dust = "latest"
eza = "latest"
fd = "latest"
fzf = "latest"
jq = "latest"
lazygit = "latest"
lazyjournal = "latest"
sops = "latest"
usage = "latest"
yazi = "latest"
zoxide = "latest"
[settings] [settings]
[alias.node] lockfile = true
my_custom_node = '20' # makes `rtx install node@my_custom_node` install node-20.x experimental = true
# this can also be specified in a plugin (see below in "Aliases") idiomatic_version_file_enable_tools = ["python"]
[settings.python]
uv_venv_auto = true
uv_venv_create_args = ['--seed']

View file