diff --git a/.config/ansible/roles/arch/packages/tasks/modules/coding.yml b/.config/ansible/roles/arch/packages/tasks/modules/coding.yml index 36937bfe..13bfb374 100644 --- a/.config/ansible/roles/arch/packages/tasks/modules/coding.yml +++ b/.config/ansible/roles/arch/packages/tasks/modules/coding.yml @@ -45,12 +45,14 @@ - tgpt-bin - vscodium-bin - vscodium-marketplace-bin + - mise # Cargo - name: Install Rust Packages cargo: name: - cargo-update + - cargo-binstall # Npm - name: Install Npm Packages diff --git a/.config/fish/completions/mise.fish b/.config/fish/completions/mise.fish new file mode 100644 index 00000000..b799436c --- /dev/null +++ b/.config/fish/completions/mise.fish @@ -0,0 +1,10 @@ +# 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 + +set _usage_spec_mise (mise usage | string collect) +complete -xc mise -a '(usage complete-word -s "$_usage_spec_mise" -- (commandline -cop) (commandline -t))' diff --git a/.config/fish/conf.d/mise.fish b/.config/fish/conf.d/mise.fish new file mode 100644 index 00000000..f6e68d86 --- /dev/null +++ b/.config/fish/conf.d/mise.fish @@ -0,0 +1 @@ +mise activate fish | source diff --git a/.config/fish/user_variables.fish b/.config/fish/user_variables.fish index 026209c5..1e7bc997 100644 --- a/.config/fish/user_variables.fish +++ b/.config/fish/user_variables.fish @@ -16,7 +16,6 @@ set -xg CARGO_HOME $XDG_DATA_HOME/cargo set -xg LEIN_HOME $XDG_DATA_HOME/lein set -xg NUGET_PACKAGES $XDG_CACHE_HOME/NuGetPackages set -xg ANDROID_HOME $XDG_DATA_HOME/android -set -xg BUN_INSTALL $XDG_DATA_HOME/bun set -xg NODE_REPL_HISTORY $XDG_DATA_HOME/node_repl_history set -xg DOCKER_CONFIG $XDG_CONFIG_HOME/docker set -xg SQLITE_HISTORY $XDG_DATA_HOME/sqlite_history @@ -55,7 +54,6 @@ fish_add_path /sbin fish_add_path /usr/lib/rustup/bin fish_add_path /usr/lib/go/bin fish_add_path $HOME/.dotnet/tools -fish_add_path $BUN_INSTALL/bin fish_add_path $XDG_DATA_HOME/bob/nvim-bin fish_add_path $XDG_DATA_HOME/npm/bin fish_add_path $XDG_DATA_HOME/nvim/mason/bin diff --git a/.config/mise/.github/README.md b/.config/mise/.github/README.md new file mode 100644 index 00000000..affa9d51 --- /dev/null +++ b/.config/mise/.github/README.md @@ -0,0 +1,3 @@ +
+ +
diff --git a/.config/mise/.github/title.png b/.config/mise/.github/title.png new file mode 100644 index 00000000..90bbebda Binary files /dev/null and b/.config/mise/.github/title.png differ diff --git a/.config/mise/config.toml b/.config/mise/config.toml new file mode 100644 index 00000000..ea69ea9e --- /dev/null +++ b/.config/mise/config.toml @@ -0,0 +1,44 @@ +[tools] +# global tool versions go here +# you can set these with `mise use -g` +# node = 'lts' # Let the system manage it +# python = ['3.11.8'] # Let the system manage it +usage = "latest" +bun = "latest" + +[settings] +# plugins can read the versions files used by other version managers (if enabled by the plugin) +# for example, .nvmrc in the case of node's nvm +legacy_version_file = true # enabled by default (unlike asdf) + +# configure `mise install` to always keep the downloaded archive +always_keep_download = false # deleted after install by default +always_keep_install = false # deleted on failure by default + +# configure how frequently (in minutes) to fetch updated plugin repository changes +# this is updated whenever a new runtime is installed +# (note: this isn't currently implemented but there are plans to add it: https://github.com/jdx/mise/issues/128) +plugin_autoupdate_last_check_duration = '1 week' # set to 0 to disable updates + +# config files with these prefixes will be trusted by default +trusted_config_paths = ['~/Repos'] + +verbose = false # set to true to see full installation output, see `MISE_VERBOSE` +asdf_compat = false # set to true to ensure .tool-versions will be compatible with asdf, see `MISE_ASDF_COMPAT` +jobs = 4 # number of plugins or runtimes to install in parallel. The default is `4`. +raw = false # set to true to directly pipe plugins to stdin/stdout/stderr +yes = false # set to true to automatically answer yes to all prompts + +not_found_auto_install = true # see MISE_NOT_FOUND_AUTO_INSTALL +task_output = "prefix" # see Tasks Runner for more information +paranoid = false # see MISE_PARANOID + +shorthands_file = '~/.config/mise/shorthands.toml' # path to the shorthands file, see `MISE_SHORTHANDS_FILE` +disable_default_shorthands = false # disable the default shorthands, see `MISE_DISABLE_DEFAULT_SHORTHANDS` + +env_file = '.env' # load env vars from a dotenv file, see `MISE_ENV_FILE` + +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 } diff --git a/.config/pacman/arch-packages.txt b/.config/pacman/arch-packages.txt index f0dd5b5b..f8efa352 100644 --- a/.config/pacman/arch-packages.txt +++ b/.config/pacman/arch-packages.txt @@ -113,7 +113,7 @@ nemo-python 6.0.1-1 net-tools 2.10-2 network-manager-applet 1.36.0-1 networkmanager 1.46.0-2 -nodejs 21.7.1-1 +nodejs 21.7.2-1 npm 10.5.1-1 ntfs-3g 2022.10.3-1 nvtop 3.1.0-1 diff --git a/.config/pacman/aur-packages.txt b/.config/pacman/aur-packages.txt index f9fff761..7f4f942b 100644 --- a/.config/pacman/aur-packages.txt +++ b/.config/pacman/aur-packages.txt @@ -20,6 +20,7 @@ lazydocker 0.23.1-1 lazynpm 0.1.4-1 librewolf-bin 124.0.1-1 ludusavi 0.22.0-2 +mise 2024.4.0-1 needrestart 3.6-3 nwg-displays 0.3.16-1 obs-pipewire-audio-capture-bin 1.1.4-1