Skip to content

git completion missing positional error #1153

@MisileLab

Description

@MisileLab

error

Error: nu::parser::missing_positional

  × Missing required positional argument.
     ╭─[/nix/store/qyzq419v0r33f0nw29y5w45rcdxyjkr6-nu_scripts-0-unstable-2025-07-24/share/nu_scripts/aliases/git/git-aliases.nu:232:24]
 231 │     } else {
 232 │     git worktree add $path
     ·                           ▲
     ·                           ╰── missing branch
 233 │     }
     ╰────
  help: Usage: git worktree add {flags} <path> <branch> ...(args) . Use `--help` for more information.

config: https://github.com/MisileLab/h3/tree/main/projects/dsb/nix-configs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions