Skip to content

Bug: (eval):1: unknown file attribute: h #758

Description

@peterldowns

I recently updated mise to the latest version with mise self-update

• mise version
              _                                        __
   ____ ___  (_)_______        ___  ____        ____  / /___ _________
  / __ `__ \/ / ___/ _ \______/ _ \/ __ \______/ __ \/ / __ `/ ___/ _ \
 / / / / / / (__  )  __/_____/  __/ / / /_____/ /_/ / / /_/ / /__/  __/
/_/ /_/ /_/_/____/\___/      \___/_/ /_/     / .___/_/\__,_/\___/\___/
                                            /_/                 by @jdx
2026.7.17 macos-arm64 (2026-07-30)

This had the effect of breaking all of my tab completion, I started seeing these errors:

• mise run //[WARN  usage::spec] This usage spec requires at least version 4.0, but you are using version 3.5.6 of usage
  × Invalid usage config
    ╭─[/var/folders/wb/1hxcm9js0zd0sfgkj4r3959c0000gn/T//usage__usage_spec_mise_2025_11_4.spec:96:67]
 95 │ arg "[-- TASK_ARGS_LAST]…" required=#false var=#true hide=#true
 96 │ cmd activate help="Initializes mise in the current shell session" effect=read {
    ·                                                                   ─────┬─────
    ·                                                                        ╰── unsupported cmd prop effect
 97 │     long_help #"""

So I updated to usage @ v4.0.0

• mise use -g usage@v4.0.0
[...]
• usage --version
usage-cli 4.0.0
• which usage
/Users/pd/.local/share/mise/installs/usage/v4.0.0/usage

But now when I tab-complete, I get a different error. If I type mise run <tab>, I see:

• mise run mise run
(eval):1: unknown file attribute: h

The duplicate mise run mise run is what the <tab> completes to.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions