add mise config
This commit is contained in:
parent
6b6c6e5a0b
commit
8ade0b6795
5 changed files with 531 additions and 469 deletions
17
Configs/fish/.config/fish/completions/mise.fish
Normal file
17
Configs/fish/.config/fish/completions/mise.fish
Normal 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
|
||||
|
|
@ -4,4 +4,7 @@ if status is-interactive
|
|||
# Commands to run in interactive sessions can go here
|
||||
zoxide init --cmd cd fish | source
|
||||
atuin init fish | source
|
||||
|
||||
mise activate fish | source
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -203,9 +203,6 @@ git:
|
|||
autoStageResolvedConflicts: true
|
||||
# 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}} --
|
||||
# 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
|
||||
overrideGpg: false
|
||||
# If true, do not allow force pushes
|
||||
|
|
@ -241,6 +238,8 @@ git:
|
|||
# When copying commit hashes to the clipboard, truncate them to this
|
||||
# length. Set to 40 to disable truncation.
|
||||
truncateCopiedCommitHashesTo: 12
|
||||
allBranchesLogCmds:
|
||||
- git log --graph --all --color=always --abbrev-commit --decorate --date=relative --pretty=medium
|
||||
# Periodic update checks
|
||||
update:
|
||||
# One of: 'prompt' (default) | 'background' | 'never'
|
||||
|
|
|
|||
|
|
@ -1,11 +1,54 @@
|
|||
[tools]
|
||||
|
||||
# ── Languages ─────────────────────────────────────────────────────────
|
||||
|
||||
node = 'lts'
|
||||
# python = {version='3', virtualenv='.venv'}
|
||||
python = { version = '3' } # setting virtualenv adds a virtualenv in every directory
|
||||
# php = "8.2"
|
||||
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]
|
||||
[alias.node]
|
||||
my_custom_node = '20' # makes `rtx install node@my_custom_node` install node-20.x
|
||||
# this can also be specified in a plugin (see below in "Aliases")
|
||||
lockfile = true
|
||||
experimental = true
|
||||
idiomatic_version_file_enable_tools = ["python"]
|
||||
|
||||
[settings.python]
|
||||
uv_venv_auto = true
|
||||
uv_venv_create_args = ['--seed']
|
||||
|
|
|
|||
0
Configs/mise/.config/mise/mise.lock
Normal file
0
Configs/mise/.config/mise/mise.lock
Normal file
Loading…
Add table
Add a link
Reference in a new issue