Skip to content

Add zmx completion script#1262

Merged
fdncred merged 1 commit into
nushell:mainfrom
ldsands:add-zmx-completions
Jun 21, 2026
Merged

Add zmx completion script#1262
fdncred merged 1 commit into
nushell:mainfrom
ldsands:add-zmx-completions

Conversation

@ldsands

@ldsands ldsands commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Adds nushell completions for zmx, a terminal session manager (attach/detach to persistent shell sessions).

The new custom-completions/zmx/zmx-completions.nu covers:

  • All zmx subcommands and their short aliases (a, r, s, p, wr, d, l/ls, k, hi, w, t, c, v, h)
  • Per-command flags (run -d --fish, list --short, kill --force, history --vt --html)
  • Dynamic session-name completion for attach, run, send, print, write, kill, history, wait, and tail via zmx list --short
  • A top-level zmx extern so zmx <TAB> lists subcommands with descriptions
  • Shell-name completion for zmx completions <TAB> (bash/zsh/fish/nu)

A short README.md is included following the custom-completions/ convention.

@ldsands

ldsands commented Jun 21, 2026

Copy link
Copy Markdown
Contributor Author

Full disclosure I did this all on claude but I tested it and it seems to work very well.

Thanks in advance for all your work!

@fdncred fdncred merged commit 800e622 into nushell:main Jun 21, 2026
1 check passed
@fdncred

fdncred commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Thanks

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants