multiSSH3 6.43__tar.gz → 6.46__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {multissh3-6.43/multiSSH3.egg-info → multissh3-6.46}/PKG-INFO +49 -4
- {multissh3-6.43 → multissh3-6.46}/README.md +48 -3
- {multissh3-6.43 → multissh3-6.46}/mssh_complete.py +505 -89
- {multissh3-6.43 → multissh3-6.46/multiSSH3.egg-info}/PKG-INFO +49 -4
- {multissh3-6.43 → multissh3-6.46}/multiSSH3.egg-info/SOURCES.txt +4 -0
- {multissh3-6.43 → multissh3-6.46}/multiSSH3.egg-info/entry_points.txt +0 -1
- {multissh3-6.43 → multissh3-6.46}/multiSSH3.py +2 -2
- multissh3-6.46/scripts/multiSSH3 +6 -0
- {multissh3-6.43 → multissh3-6.46}/setup.py +3 -1
- {multissh3-6.43 → multissh3-6.46}/tests/complete_shell_harness.py +31 -19
- multissh3-6.46/tests/shells/Dockerfile.bash3.2 +6 -0
- {multissh3-6.43 → multissh3-6.46}/tests/shells/Dockerfile.centos7 +8 -0
- multissh3-6.46/tests/shells/Dockerfile.el10 +20 -0
- {multissh3-6.43 → multissh3-6.46}/tests/shells/run_matrix.sh +12 -9
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_blesh.py +1 -1
- multissh3-6.46/tests/test_complete_harness.py +45 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_index.py +10 -2
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_keys.py +247 -141
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_shells.py +1072 -54
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_zsh_options.py +5 -5
- {multissh3-6.43 → multissh3-6.46}/tests/test_packaging.py +11 -0
- {multissh3-6.43 → multissh3-6.46}/LICENSE +0 -0
- {multissh3-6.43 → multissh3-6.46}/MANIFEST.in +0 -0
- {multissh3-6.43 → multissh3-6.46}/multiSSH3.egg-info/dependency_links.txt +0 -0
- {multissh3-6.43 → multissh3-6.46}/multiSSH3.egg-info/top_level.txt +0 -0
- {multissh3-6.43 → multissh3-6.46}/pytest.ini +0 -0
- {multissh3-6.43 → multissh3-6.46}/setup.cfg +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/bench_complete.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/conftest.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/data/run_command_golden.json +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/replay.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/shells/Dockerfile.bash5.0 +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/shells/Dockerfile.bash5.1 +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/shells/Dockerfile.bash5.3 +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/shells/Dockerfile.current +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/shells/Dockerfile.el9 +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/shells/Dockerfile.legacy +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/shells/Dockerfile.modern +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_cli_branches.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_cli_option_words.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_cli_processing.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_closed_output.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_color_helpers.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_command_terminal.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_compact_hostnames.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_cli.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_context.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_diagnose.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_editor.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_engine.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_eval.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_hosts.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_hoststate.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_lex.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_mssh_helpers.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_password_spellings.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_picker.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_probe.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_start.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_store.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_suggest.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_terminal.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_complete_untrusted.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_config_cli.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_config_validate.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_config_values.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_control_master_config.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_copy_id.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_curses_branches.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_curses_event_loop.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_curses_tui.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_curses_wide_chars.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_expand_hostnames.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_file_trust.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_harness_smoke.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_helpers_extra.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_history_replay.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_host.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_host_validity.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_hosts_file.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_identities_only.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_ipmi_lockout_wait.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_ipmi_logins.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_key_path_home.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_login_drop_retry.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_main_lifecycle.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_narrow_terminal.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_no_hosts.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_option_no_effect.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_options_after_command.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_output_merge.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_output_robustness.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_password_handling.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_passwords_out_of_ps.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_run_command.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_run_command_branches.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_run_command_characterization.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_run_command_exit.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_run_on_hosts.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_run_on_hosts_modes.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_runtime_branch_matrix.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_runtime_dir.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_shared_lines.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_smoke_optional.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_ssh_error_text.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_ssh_timeouts.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_sshpass_exit.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_start_run_on_hosts.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_stopped_commands.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_stream_reader.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_streamed_output.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_tui_ssh_notices.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_unavailable_hosts.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_underscore_settings.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_waiting.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/test_wide_wrap.py +0 -0
- {multissh3-6.43 → multissh3-6.46}/tests/vt_grid.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: multiSSH3
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.46
|
|
4
4
|
Summary: Run commands on multiple hosts via SSH
|
|
5
5
|
Home-page: https://github.com/yufei-pan/multiSSH3
|
|
6
6
|
Author: Yufei Pan
|
|
@@ -155,6 +155,11 @@ It also installs `mssh-complete`, the shell autocomplete engine behind `mssh --c
|
|
|
155
155
|
|
|
156
156
|
Need Python 3.6+
|
|
157
157
|
|
|
158
|
+
- On EL7 and EL8, run `python3 -m pip install --user -U pip` once before a `--user` install or upgrade: the stock pip (pip 9, `pip3 --version`) leaves the old version's record behind, and a later `pip3 uninstall multiSSH3` leaves the old version listed. Without `--user`, upgrade pip the same way without `--user` (`python3 -m pip install -U pip`).
|
|
159
|
+
- With pip 9, upgrading from 6.43 or earlier and `pip3 uninstall multiSSH3` of those releases stop with `configparser.DuplicateOptionError: ... option 'multissh3' in section 'console_scripts' already exists`, and nothing changes: the installed release keeps working. Upgrade pip as above, then upgrade or uninstall ([limitations](docs/limitations.md#pip-9-cannot-upgrade-from-or-uninstall-643-and-earlier)).
|
|
160
|
+
- With `--user` the same happens, except that `pip3 install --user -U multiSSH3` with no version does not stop: it installs the new release, which works, and leaves the old release's metadata behind. `pip3 list` then shows the old release after `pip3 uninstall multiSSH3`, and the next uninstall stops with that error. Upgrading pip first, as above, avoids it. If it has already happened, upgrade pip, run `pip3 uninstall multiSSH3` until it says multiSSH3 is not installed, and install again.
|
|
161
|
+
- With pip 10 or later, in a venv whose path has a space or is too long for the kernel's `#!` line, the `multiSSH3` spelling does not start (the error varies: "bad interpreter", `import: command not found`), because pip gives a script file a plain `#!` line: use `multissh3`. With pip 9 no spelling starts in such a venv, as in 6.43. uv and system or `--user` installs are not affected ([limitations](docs/limitations.md#the-multissh3-spelling-in-a-venv-with-a-space-in-its-path)).
|
|
162
|
+
|
|
158
163
|
## Configuration
|
|
159
164
|
### Config File Chain
|
|
160
165
|
multissh treat config files as definable default values.
|
|
@@ -504,7 +509,7 @@ A new block is appended to your rc file; changing or removing it replaces the fi
|
|
|
504
509
|
|
|
505
510
|
Ranking uses the rest of the line on both sides of the cursor: after `mssh gpu[01-16] "` the commands you run on those hosts come first, and in the hosts of `mssh ▮ "systemctl restart slurmd"` the hosts you restarted slurmd on come first.
|
|
506
511
|
|
|
507
|
-
Completion never removes what you typed
|
|
512
|
+
Completion never removes what you typed and prints nothing. When the engine is slow or missing, the first word and the value of mssh's file options (`-f`, `--key`, ...) get the shell's file names; every other word gets nothing, as it may be a remote command's or a password.
|
|
508
513
|
|
|
509
514
|
In bash with readline's `completion-ignore-case` on (`set completion-ignore-case on` in `~/.inputrc`, or `bind` at any time: it is read at every TAB), what you typed matches in any case, and the candidate's own spelling goes in: `mssh storage-e<TAB>` gives `Storage-East`. Names differing only in case stay different names, as mssh compares host, alias and user names exactly; when they alone are left, which readline cannot tell apart, the one in the case you typed goes in, else the most likely. The words of a command before the one being completed and the directories of a path stay as typed, and an option name typed in its own case is never turned into another (`-S` stays `-S`, never `-s`). Letters match as your locale lowers them: in a non-UTF-8 locale (`LANG=C`, or a locale the system lacks) only ASCII letters, in a Turkish UTF-8 one `I` goes with `ı` and `İ` with `i`.
|
|
510
515
|
|
|
@@ -585,7 +590,7 @@ Hosts are checked in the background by `mssh-complete probe`: DNS, `ssh -G` (whi
|
|
|
585
590
|
|
|
586
591
|
> With zsh before 5.8 and zsh-autosuggestions in its default asynchronous mode, a Ctrl-C while typing an mssh line now and then keeps the line, as the plugin's own processes hold the terminal for a moment; press Ctrl-C again ([limitations](docs/limitations.md#zsh-before-58-with-zsh-autosuggestions-async-mode-a-ctrl-c-now-and-then-keeps-the-line)).
|
|
587
592
|
|
|
588
|
-
> In zsh, a double-quoted word holding an expansion (`mssh h "ls $PWD/zzp<TAB>`) is still expanded, as before, where your completers include `_expand` ([limitations](docs/limitations.md#zsh-a-double-quoted-expansion-is-still-expanded-where-the-completer-is-_expand)).
|
|
593
|
+
> In zsh, a double-quoted word holding an expansion (`mssh h "ls $PWD/zzp<TAB>`) is still expanded, as before, where your completers include `_expand` ([limitations](docs/limitations.md#zsh-a-double-quoted-expansion-is-still-expanded-where-the-completer-is-_expand)). In zsh, `mssh h "cat $HOM<TAB>` gives `"cat $HOME ` with the quote still open ([limitations](docs/limitations.md#zsh-a-variable-name-typed-inside-a-double-quoted-command-is-completed-with-a-space-and-the-quote-left-open)). In bash with bash-completion, a `~name` word in a quoted command (`mssh h "cat ~bi<TAB>`) closes the quote ([limitations](docs/limitations.md#bash-completion-a-name-word-closes-the-quote)); and on bash before 5.1 a glue sourced while bash is in posix mode gives bash's default completion ([limitations](docs/limitations.md#bash-the-glue-sourced-while-the-shell-is-already-in-posix-mode-gives-bashs-default-completion)). With ble.sh, `mssh h "cat $HOM<TAB>` gives `"cat $HOME ` with the quote still open ([limitations](docs/limitations.md#blesh-a-variable-name-typed-inside-a-double-quoted-command-is-completed-with-a-space-and-the-quote-left-open)).
|
|
589
594
|
|
|
590
595
|
> On zsh before 5.3, mssh draws no grey text of its own and shows no warnings, as the zle hooks they need (`add-zle-hook-widget`) came in zsh 5.3; with zsh-autosuggestions loaded, its grey text still comes from mssh. TAB completion works.
|
|
591
596
|
|
|
@@ -995,7 +1000,7 @@ Option names count in full only: `--user` is not `--username` and `-c` is not `-
|
|
|
995
1000
|
|
|
996
1001
|
Putting the command after `--` is no substitute for quotes: every word after the hosts is a command of its own, so `mssh web1 -- bash -c 'echo hi'` runs `bash`, `-c` and `echo hi` one after another (when each word is a single word, as in `mssh web1 -- ls -la`, mssh asks whether to join them).
|
|
997
1002
|
|
|
998
|
-
Below is a sample help message output from multiSSH3 6.
|
|
1003
|
+
Below is a sample help message output from multiSSH3 6.46 @ 2026-11-07 (no config file, 120 columns; the lines after the options list the programs found on that machine)
|
|
999
1004
|
|
|
1000
1005
|
```bash
|
|
1001
1006
|
$ mssh -h
|
|
@@ -1409,6 +1414,46 @@ __DEBUG_MODE = False
|
|
|
1409
1414
|
|
|
1410
1415
|
> `__DEBUG_MODE` is used to control whether to print host thread execution debug information to its stderr.
|
|
1411
1416
|
|
|
1417
|
+
## Upgrading to 6.46 from 6.45
|
|
1418
|
+
|
|
1419
|
+
Run `mssh --completion install` again (zsh): the fixes below are in the new glue. What you may notice:
|
|
1420
|
+
|
|
1421
|
+
- Fix (zsh): a quote after a plain name's `=` stays, as after a remote option's: `mssh h dd if="zz<TAB>` gave `if=zzfile ` and now gives `if="zzfile" `, `make VAR="zz<TAB>` the same; beside another name TAB no longer takes the quote back (`if="zz` stayed `if=zz`).
|
|
1422
|
+
- Fix (zsh): inside backticks, a name that needs quoting is offered again, written for the extra reading backticks get: with a file `zzs$v`, `` `mssh h cat zz<TAB> `` gives `` `mssh h cat zzs\\\\\\\$v ``, and the remote shell gets `cat zzs$v`, as in `$( )`. Also in quoted commands and arguments, after `--output="` and `if="`, history names, and mssh's own file options: `` `mssh -f zz<TAB> `` gave `zzs\$v`, so mssh got `-f zzs`, and now gives `zzs\\\$v`. TAB goes on into such a directory (`` `mssh h cat zzd<TAB>zz<TAB> `` for `zzd&x/zzin`), except in a quoted command, a double-quoted word holding an expansion, or after a quote at an `=` ([limitations](docs/limitations.md#zsh-inside-backticks-tab-does-not-go-on-into-a-changed-directory-in-a-quoted-command-or-after-a-quote-at-an-)).
|
|
1423
|
+
- Fix (zsh): a backtick in single quotes, `$'...'` or after a backslash no longer counts as an open one: `` mssh h echo '`' zz<TAB> `` offers `zzs$v` again, as 6.44 did.
|
|
1424
|
+
- Fix (zsh): in a word holding a `/`, mssh's history names are offered beside the command's own names: with `sub/zzlocal` here and `cat sub/zzremote` in history, `mssh h cat sub/zz<TAB>` stays as typed, and `r<TAB>` gives `sub/zzremote`. Also in `cat "sub/zz`, `sort --output=sub/zz` and `~/.zz`. Not yet in a quoted command, a double-quoted word holding an expansion or after a quote at an `=`, where they are offered when the command offers nothing, as in 6.45 ([limitations](docs/limitations.md#zsh-beside-the-commands-own-names-a-history-name-in-a-quoted-commands-word-holding-a--is-left-out)).
|
|
1425
|
+
- Known (zsh, deferred to 6.47): inside `$(`, with `bang_hist` on (zsh's default), a double-quoted name holding `!` reaches mssh as `\!`: `$(mssh -f "zz<TAB>` for a file `zz!x` gives mssh `-f zz\!x`. On the line and inside backticks it reaches mssh as `zz!x`. 6.45 does the same, except after a quote at an `=` (`$(mssh h dd if="zz<TAB>`), where 6.45 dropped the quote and mssh got `if=zz!x` ([limitations](docs/limitations.md#zsh-inside---with-bang_hist-on-a-name-holding--in-a-double-quote-reaches-mssh-as-)).
|
|
1426
|
+
- Known (zsh, deferred to 6.47): a value that the command's completion splits after a quote at an `=` loses the quote, as in 6.45: `mssh h make CFLAGS="-ggd<TAB>` gives `CFLAGS=-ggdb`. With a history name for it the quote stays, except for a value holding a `/` with a local name beside it ([limitations](docs/limitations.md#zsh-a-value-the-command-splits-after-a-quote-at-an--loses-the-quote)).
|
|
1427
|
+
- Known (zsh, deferred to 6.47): in a double-quoted command holding `\"`, TAB puts the name after the typed word: `mssh h "grep \"a b\" zz<TAB>` gives `zzfilezz`, as in 6.45 and zsh's own `compset -q` ([limitations](docs/limitations.md#zsh-in-a-double-quoted-command-holding--tab-puts-the-name-after-the-typed-word)).
|
|
1428
|
+
- Fix (zsh): TAB no longer leaves `MATCH`, `MBEGIN` and `MEND` set in the shell, as stock zsh leaves none: they showed in `set` and as names `echo $M<TAB>` offered. 6.45 left them after TAB on some mssh lines.
|
|
1429
|
+
- Change (zsh): a `~/` typed before a history name stays as typed, this shell's home, as the line gives without TAB: `mssh h cat ~/.zzr<TAB>` with `cat ~/.zzremote` in history gave `\~/.zzremote`, the remote host's home, and now gives `~/.zzremote`.
|
|
1430
|
+
|
|
1431
|
+
## Upgrading to 6.45 from 6.44
|
|
1432
|
+
|
|
1433
|
+
Run `mssh --completion install` again (zsh): the fixes below are in the new glue. What you may notice:
|
|
1434
|
+
|
|
1435
|
+
- Fix (zsh): a double-quoted word holding an expansion stays as typed in a command that starts inside backticks, as it does inside `$(`: `` `mssh h "ls $PWD/zzp<TAB> `` gave `` `mssh h ls\ /the/directory/zzp ``, the quote gone and the value expanded, and now gives `` `mssh h "ls $PWD/zzplain" ``. Also after `echo` or `x=`, with closed or escaped backticks or a closed `$( )` on the line, and in `mssh h ls "$PWD/zzp` and `mssh --file="$PWD/zzp`. The grey text's check of an mssh line reads backticks the same way.
|
|
1436
|
+
- Change (zsh): every word of a command inside backticks now reaches the engine as itself: zsh gives the backtick as the word's open quote, and the engine got it in front of the word. `` `mssh h ls zzp<TAB> `` now gets its space after the name, and mssh's own words (hosts, options, history) are offered there as they are outside backticks.
|
|
1437
|
+
- Fix (zsh): a name from history is offered after a quote at a remote option's equals sign, and keeps the quote: with `sort --output=zzhist.txt` in history, `mssh h sort --output="zz<TAB>` stayed as typed and now gives `mssh h sort --output="zzhist.txt" `. Also `mssh h -- --output="zz`.
|
|
1438
|
+
- Change (zsh): the quote at a remote option's equals sign stays for the command's own names too: `mssh h ls --color="au<TAB>` gave `--color=auto ` and now gives `--color="auto" `, and `mssh h tar --file="zza<TAB>` gives `--file="zza\\&b" `; into a directory too: with `zzd&x/zzin`, `mssh h tar --file="zzd<TAB><TAB>` gives `--file="zzd\\&x/zzin" ` (6.44: `--file=zzd\\\&x/zzin `); and in a list value: `mssh h ps --format="pid,us<TAB>` keeps the quote, with or without a `ps --format=` command in history (6.44 dropped the quote). A name holding whitespace is left out there: `mssh h sort --output="zz s<TAB>` gave `--output=zz\ sfile `, which mssh runs as two commands, and now stays as typed.
|
|
1439
|
+
- Fix (zsh): TAB no longer takes back what was typed when a name from history stands beside a local name in a word holding a directory: `mssh h cat ~/.zz<TAB>`, with that file local and in history, gave `mssh h cat `. The same in `mssh h "cat ~/.zz`, `mssh h 'cat /etc/os-`, `mssh h cat "/etc/os-` and `mssh h sort --output=/etc/os-`. In such a word, or a quoted command holding a `/`, once the command's completion offers a name (a local file, one of its options), history's names are not offered (6.46 offers them, except in a quoted command, a double-quoted word holding an expansion or after a quote at an `=`).
|
|
1440
|
+
- Change (zsh): inside backticks, a name of a remote command's that would need quoting is left out (`zzs$v`, `zzamp&b`, ``zzb`t``, `zzc\d`, `zzq"x`). This shell reads text in backticks once more than in `$( )`, so such a name reached the remote shell one quoting level short. `$( )` offers them all. Not covered yet: mssh's own file options (`` `mssh -f zz<TAB> `` gives `zzs\$v`, so mssh gets `-f zzs`, as stock zsh does for any command), and a backtick in single quotes is counted too, so `` mssh h echo '`' zz<TAB> `` leaves out `zzs$v`, which 6.44 offered (both fixed in 6.46).
|
|
1441
|
+
- Fix (zsh): `` `mssh h ls $PWD/zzp<TAB> `` keeps the `$`: it went in as `\$PWD`. And `` `mssh --password=se<TAB> `` no longer offers a local file.
|
|
1442
|
+
|
|
1443
|
+
## Upgrading to 6.44 from 6.43
|
|
1444
|
+
|
|
1445
|
+
Run `mssh --completion install` again (bash, ble.sh, zsh and fish): the fixes below are in the new glue. What you may notice:
|
|
1446
|
+
|
|
1447
|
+
- Change (bash, ble.sh, zsh, fish): when TAB's query misses `MSSH_COMPLETE_TIMEOUT`, or the engine fails, a word that may be a remote command's or a password now gets nothing. It got a file name quoted for this shell alone: `mssh h cat zza<TAB>` gave `zzamp\&b `, which the remote shell read as `cat zzamp&b`, and `mssh -p zza<TAB>` offered a file name at a password. The first word and the value of mssh's file options still get file names (`mssh -f zza<TAB>`, `mssh --file=zza<TAB>`); a hosts word after other options (`mssh -q zza<TAB>`) gets nothing. Left: past the limit, a name that needs quoting still goes in quoted for this shell after a remote option that mssh has too (`mssh h tail -f zza<TAB>`: `-f`, `-s`, `-k`, `--file=`; bash and zsh) ([limitations](docs/limitations.md#tab-past-its-limit-a-remote-option-that-mssh-has-too-gets-a-name-quoted-for-this-shell)).
|
|
1448
|
+
- Fix (bash): `mssh -f "$PWD/zzs<TAB>` keeps the `$`: readline escaped it, in double quotes always and outside them before bash 5.2 (also `--file`, `--file=` and `-k`), so mssh got the literal text `$PWD/zzs.txt` and found no such file. Such a word's list now shows the whole word, and mssh's history offers nothing for it. A `$` with a quote closed before the word's end (`mssh -f "$PWD"/zzs<TAB>`) gets no name, where readline would give mssh the literal `\$PWD`. With `shopt -s direxpand` bash puts the expanded path in the word, as in 6.43.
|
|
1449
|
+
- Fix (zsh): a double-quoted word holding an expansion stays as typed in any mssh command, not only on a line that starts with an mssh name: after an alias (`alias m=mssh`, `m h "ls $PWD/zzp<TAB>` gave `m h ls\ /the/directory/zzp`), `sudo`, `time`, `command`, `noglob`, `&&`, `;`, `(` or `FOO=1`. It goes by the command the cursor is in: `mssh h a; ls "$PWD/zz<TAB>` is left to zsh. Any word from the last separator (`;`, `&&`, `|`, a newline, ...) on up to the cursor may be mssh's name, whatever runs it: `sudo -u root mssh`, `nice -n 5 mssh`, `timeout 5 mssh`, `xargs mssh`, a redirection first, and an alias of any of them. So `echo mssh "$PWD/zz<TAB>` completes where zsh would expand. A function you wrote (`m() { mssh "$@"; }`) is not followed.
|
|
1450
|
+
- Fix (zsh): TAB goes on into a directory completed in a double-quoted word holding an expansion: `mssh h "ls $PWD/zzd<TAB>` for a directory `zzd x`, then `in<TAB>`, gave nothing. The same in `mssh h ls "$PWD/zzd` and `mssh h "echo $USER; ls zzd`.
|
|
1451
|
+
- Fix (zsh 5.3 and later, with zsh-autosuggestions, in its synchronous and its asynchronous mode): keys arriving together no longer take the grey text of the line before them (the plugin gives the old text back while keys are waiting, before it checks it against what was typed): at `mssh gp`, `x` Right Enter ran `gpxu[01-16] nvidia-smi`. On mssh lines the grey text goes while more keys are waiting, on any line with an mssh command in it (`sudo mssh gp`, `FOO=1 mssh gp`, an alias of mssh); a function of yours that calls mssh (`m() { mssh "$@"; }`) is not seen. Off mssh lines the plugin behaves as it does alone. Before zsh 5.3 the grey text of the older line can still run ([limitations](docs/limitations.md#zsh-before-53-with-zsh-autosuggestions-keys-arriving-together-can-run-the-older-lines-grey-text)).
|
|
1452
|
+
- Change (bash): a list of names in a quote shows directories with their `/`, as a list outside a quote does.
|
|
1453
|
+
- Fix (zsh, fish 3.3): a file name after an option's `=` completes: `mssh --file=zzs<TAB>` and, in zsh, `mssh --file="$PWD/zzs<TAB>` offered nothing. Also the one-dash options (`-f=zzs`, `-k=`, `-s=`) when the query is too slow.
|
|
1454
|
+
- Fix (ble.sh): no file name is offered at a password given as `-p=`, `--password=`, `--ipmi_password=` or `-pSECRET`.
|
|
1455
|
+
- Fix (fish): `mssh h -- -x<TAB>` printed `complete: -C: option requires an argument`.
|
|
1456
|
+
|
|
1412
1457
|
## Upgrading to 6.43 from 6.42
|
|
1413
1458
|
|
|
1414
1459
|
Run `mssh --completion install` again in bash (with or without ble.sh), zsh and fish: the fixes below are in the new glue. What you may notice:
|
|
@@ -129,6 +129,11 @@ It also installs `mssh-complete`, the shell autocomplete engine behind `mssh --c
|
|
|
129
129
|
|
|
130
130
|
Need Python 3.6+
|
|
131
131
|
|
|
132
|
+
- On EL7 and EL8, run `python3 -m pip install --user -U pip` once before a `--user` install or upgrade: the stock pip (pip 9, `pip3 --version`) leaves the old version's record behind, and a later `pip3 uninstall multiSSH3` leaves the old version listed. Without `--user`, upgrade pip the same way without `--user` (`python3 -m pip install -U pip`).
|
|
133
|
+
- With pip 9, upgrading from 6.43 or earlier and `pip3 uninstall multiSSH3` of those releases stop with `configparser.DuplicateOptionError: ... option 'multissh3' in section 'console_scripts' already exists`, and nothing changes: the installed release keeps working. Upgrade pip as above, then upgrade or uninstall ([limitations](docs/limitations.md#pip-9-cannot-upgrade-from-or-uninstall-643-and-earlier)).
|
|
134
|
+
- With `--user` the same happens, except that `pip3 install --user -U multiSSH3` with no version does not stop: it installs the new release, which works, and leaves the old release's metadata behind. `pip3 list` then shows the old release after `pip3 uninstall multiSSH3`, and the next uninstall stops with that error. Upgrading pip first, as above, avoids it. If it has already happened, upgrade pip, run `pip3 uninstall multiSSH3` until it says multiSSH3 is not installed, and install again.
|
|
135
|
+
- With pip 10 or later, in a venv whose path has a space or is too long for the kernel's `#!` line, the `multiSSH3` spelling does not start (the error varies: "bad interpreter", `import: command not found`), because pip gives a script file a plain `#!` line: use `multissh3`. With pip 9 no spelling starts in such a venv, as in 6.43. uv and system or `--user` installs are not affected ([limitations](docs/limitations.md#the-multissh3-spelling-in-a-venv-with-a-space-in-its-path)).
|
|
136
|
+
|
|
132
137
|
## Configuration
|
|
133
138
|
### Config File Chain
|
|
134
139
|
multissh treat config files as definable default values.
|
|
@@ -478,7 +483,7 @@ A new block is appended to your rc file; changing or removing it replaces the fi
|
|
|
478
483
|
|
|
479
484
|
Ranking uses the rest of the line on both sides of the cursor: after `mssh gpu[01-16] "` the commands you run on those hosts come first, and in the hosts of `mssh ▮ "systemctl restart slurmd"` the hosts you restarted slurmd on come first.
|
|
480
485
|
|
|
481
|
-
Completion never removes what you typed
|
|
486
|
+
Completion never removes what you typed and prints nothing. When the engine is slow or missing, the first word and the value of mssh's file options (`-f`, `--key`, ...) get the shell's file names; every other word gets nothing, as it may be a remote command's or a password.
|
|
482
487
|
|
|
483
488
|
In bash with readline's `completion-ignore-case` on (`set completion-ignore-case on` in `~/.inputrc`, or `bind` at any time: it is read at every TAB), what you typed matches in any case, and the candidate's own spelling goes in: `mssh storage-e<TAB>` gives `Storage-East`. Names differing only in case stay different names, as mssh compares host, alias and user names exactly; when they alone are left, which readline cannot tell apart, the one in the case you typed goes in, else the most likely. The words of a command before the one being completed and the directories of a path stay as typed, and an option name typed in its own case is never turned into another (`-S` stays `-S`, never `-s`). Letters match as your locale lowers them: in a non-UTF-8 locale (`LANG=C`, or a locale the system lacks) only ASCII letters, in a Turkish UTF-8 one `I` goes with `ı` and `İ` with `i`.
|
|
484
489
|
|
|
@@ -559,7 +564,7 @@ Hosts are checked in the background by `mssh-complete probe`: DNS, `ssh -G` (whi
|
|
|
559
564
|
|
|
560
565
|
> With zsh before 5.8 and zsh-autosuggestions in its default asynchronous mode, a Ctrl-C while typing an mssh line now and then keeps the line, as the plugin's own processes hold the terminal for a moment; press Ctrl-C again ([limitations](docs/limitations.md#zsh-before-58-with-zsh-autosuggestions-async-mode-a-ctrl-c-now-and-then-keeps-the-line)).
|
|
561
566
|
|
|
562
|
-
> In zsh, a double-quoted word holding an expansion (`mssh h "ls $PWD/zzp<TAB>`) is still expanded, as before, where your completers include `_expand` ([limitations](docs/limitations.md#zsh-a-double-quoted-expansion-is-still-expanded-where-the-completer-is-_expand)).
|
|
567
|
+
> In zsh, a double-quoted word holding an expansion (`mssh h "ls $PWD/zzp<TAB>`) is still expanded, as before, where your completers include `_expand` ([limitations](docs/limitations.md#zsh-a-double-quoted-expansion-is-still-expanded-where-the-completer-is-_expand)). In zsh, `mssh h "cat $HOM<TAB>` gives `"cat $HOME ` with the quote still open ([limitations](docs/limitations.md#zsh-a-variable-name-typed-inside-a-double-quoted-command-is-completed-with-a-space-and-the-quote-left-open)). In bash with bash-completion, a `~name` word in a quoted command (`mssh h "cat ~bi<TAB>`) closes the quote ([limitations](docs/limitations.md#bash-completion-a-name-word-closes-the-quote)); and on bash before 5.1 a glue sourced while bash is in posix mode gives bash's default completion ([limitations](docs/limitations.md#bash-the-glue-sourced-while-the-shell-is-already-in-posix-mode-gives-bashs-default-completion)). With ble.sh, `mssh h "cat $HOM<TAB>` gives `"cat $HOME ` with the quote still open ([limitations](docs/limitations.md#blesh-a-variable-name-typed-inside-a-double-quoted-command-is-completed-with-a-space-and-the-quote-left-open)).
|
|
563
568
|
|
|
564
569
|
> On zsh before 5.3, mssh draws no grey text of its own and shows no warnings, as the zle hooks they need (`add-zle-hook-widget`) came in zsh 5.3; with zsh-autosuggestions loaded, its grey text still comes from mssh. TAB completion works.
|
|
565
570
|
|
|
@@ -969,7 +974,7 @@ Option names count in full only: `--user` is not `--username` and `-c` is not `-
|
|
|
969
974
|
|
|
970
975
|
Putting the command after `--` is no substitute for quotes: every word after the hosts is a command of its own, so `mssh web1 -- bash -c 'echo hi'` runs `bash`, `-c` and `echo hi` one after another (when each word is a single word, as in `mssh web1 -- ls -la`, mssh asks whether to join them).
|
|
971
976
|
|
|
972
|
-
Below is a sample help message output from multiSSH3 6.
|
|
977
|
+
Below is a sample help message output from multiSSH3 6.46 @ 2026-11-07 (no config file, 120 columns; the lines after the options list the programs found on that machine)
|
|
973
978
|
|
|
974
979
|
```bash
|
|
975
980
|
$ mssh -h
|
|
@@ -1383,6 +1388,46 @@ __DEBUG_MODE = False
|
|
|
1383
1388
|
|
|
1384
1389
|
> `__DEBUG_MODE` is used to control whether to print host thread execution debug information to its stderr.
|
|
1385
1390
|
|
|
1391
|
+
## Upgrading to 6.46 from 6.45
|
|
1392
|
+
|
|
1393
|
+
Run `mssh --completion install` again (zsh): the fixes below are in the new glue. What you may notice:
|
|
1394
|
+
|
|
1395
|
+
- Fix (zsh): a quote after a plain name's `=` stays, as after a remote option's: `mssh h dd if="zz<TAB>` gave `if=zzfile ` and now gives `if="zzfile" `, `make VAR="zz<TAB>` the same; beside another name TAB no longer takes the quote back (`if="zz` stayed `if=zz`).
|
|
1396
|
+
- Fix (zsh): inside backticks, a name that needs quoting is offered again, written for the extra reading backticks get: with a file `zzs$v`, `` `mssh h cat zz<TAB> `` gives `` `mssh h cat zzs\\\\\\\$v ``, and the remote shell gets `cat zzs$v`, as in `$( )`. Also in quoted commands and arguments, after `--output="` and `if="`, history names, and mssh's own file options: `` `mssh -f zz<TAB> `` gave `zzs\$v`, so mssh got `-f zzs`, and now gives `zzs\\\$v`. TAB goes on into such a directory (`` `mssh h cat zzd<TAB>zz<TAB> `` for `zzd&x/zzin`), except in a quoted command, a double-quoted word holding an expansion, or after a quote at an `=` ([limitations](docs/limitations.md#zsh-inside-backticks-tab-does-not-go-on-into-a-changed-directory-in-a-quoted-command-or-after-a-quote-at-an-)).
|
|
1397
|
+
- Fix (zsh): a backtick in single quotes, `$'...'` or after a backslash no longer counts as an open one: `` mssh h echo '`' zz<TAB> `` offers `zzs$v` again, as 6.44 did.
|
|
1398
|
+
- Fix (zsh): in a word holding a `/`, mssh's history names are offered beside the command's own names: with `sub/zzlocal` here and `cat sub/zzremote` in history, `mssh h cat sub/zz<TAB>` stays as typed, and `r<TAB>` gives `sub/zzremote`. Also in `cat "sub/zz`, `sort --output=sub/zz` and `~/.zz`. Not yet in a quoted command, a double-quoted word holding an expansion or after a quote at an `=`, where they are offered when the command offers nothing, as in 6.45 ([limitations](docs/limitations.md#zsh-beside-the-commands-own-names-a-history-name-in-a-quoted-commands-word-holding-a--is-left-out)).
|
|
1399
|
+
- Known (zsh, deferred to 6.47): inside `$(`, with `bang_hist` on (zsh's default), a double-quoted name holding `!` reaches mssh as `\!`: `$(mssh -f "zz<TAB>` for a file `zz!x` gives mssh `-f zz\!x`. On the line and inside backticks it reaches mssh as `zz!x`. 6.45 does the same, except after a quote at an `=` (`$(mssh h dd if="zz<TAB>`), where 6.45 dropped the quote and mssh got `if=zz!x` ([limitations](docs/limitations.md#zsh-inside---with-bang_hist-on-a-name-holding--in-a-double-quote-reaches-mssh-as-)).
|
|
1400
|
+
- Known (zsh, deferred to 6.47): a value that the command's completion splits after a quote at an `=` loses the quote, as in 6.45: `mssh h make CFLAGS="-ggd<TAB>` gives `CFLAGS=-ggdb`. With a history name for it the quote stays, except for a value holding a `/` with a local name beside it ([limitations](docs/limitations.md#zsh-a-value-the-command-splits-after-a-quote-at-an--loses-the-quote)).
|
|
1401
|
+
- Known (zsh, deferred to 6.47): in a double-quoted command holding `\"`, TAB puts the name after the typed word: `mssh h "grep \"a b\" zz<TAB>` gives `zzfilezz`, as in 6.45 and zsh's own `compset -q` ([limitations](docs/limitations.md#zsh-in-a-double-quoted-command-holding--tab-puts-the-name-after-the-typed-word)).
|
|
1402
|
+
- Fix (zsh): TAB no longer leaves `MATCH`, `MBEGIN` and `MEND` set in the shell, as stock zsh leaves none: they showed in `set` and as names `echo $M<TAB>` offered. 6.45 left them after TAB on some mssh lines.
|
|
1403
|
+
- Change (zsh): a `~/` typed before a history name stays as typed, this shell's home, as the line gives without TAB: `mssh h cat ~/.zzr<TAB>` with `cat ~/.zzremote` in history gave `\~/.zzremote`, the remote host's home, and now gives `~/.zzremote`.
|
|
1404
|
+
|
|
1405
|
+
## Upgrading to 6.45 from 6.44
|
|
1406
|
+
|
|
1407
|
+
Run `mssh --completion install` again (zsh): the fixes below are in the new glue. What you may notice:
|
|
1408
|
+
|
|
1409
|
+
- Fix (zsh): a double-quoted word holding an expansion stays as typed in a command that starts inside backticks, as it does inside `$(`: `` `mssh h "ls $PWD/zzp<TAB> `` gave `` `mssh h ls\ /the/directory/zzp ``, the quote gone and the value expanded, and now gives `` `mssh h "ls $PWD/zzplain" ``. Also after `echo` or `x=`, with closed or escaped backticks or a closed `$( )` on the line, and in `mssh h ls "$PWD/zzp` and `mssh --file="$PWD/zzp`. The grey text's check of an mssh line reads backticks the same way.
|
|
1410
|
+
- Change (zsh): every word of a command inside backticks now reaches the engine as itself: zsh gives the backtick as the word's open quote, and the engine got it in front of the word. `` `mssh h ls zzp<TAB> `` now gets its space after the name, and mssh's own words (hosts, options, history) are offered there as they are outside backticks.
|
|
1411
|
+
- Fix (zsh): a name from history is offered after a quote at a remote option's equals sign, and keeps the quote: with `sort --output=zzhist.txt` in history, `mssh h sort --output="zz<TAB>` stayed as typed and now gives `mssh h sort --output="zzhist.txt" `. Also `mssh h -- --output="zz`.
|
|
1412
|
+
- Change (zsh): the quote at a remote option's equals sign stays for the command's own names too: `mssh h ls --color="au<TAB>` gave `--color=auto ` and now gives `--color="auto" `, and `mssh h tar --file="zza<TAB>` gives `--file="zza\\&b" `; into a directory too: with `zzd&x/zzin`, `mssh h tar --file="zzd<TAB><TAB>` gives `--file="zzd\\&x/zzin" ` (6.44: `--file=zzd\\\&x/zzin `); and in a list value: `mssh h ps --format="pid,us<TAB>` keeps the quote, with or without a `ps --format=` command in history (6.44 dropped the quote). A name holding whitespace is left out there: `mssh h sort --output="zz s<TAB>` gave `--output=zz\ sfile `, which mssh runs as two commands, and now stays as typed.
|
|
1413
|
+
- Fix (zsh): TAB no longer takes back what was typed when a name from history stands beside a local name in a word holding a directory: `mssh h cat ~/.zz<TAB>`, with that file local and in history, gave `mssh h cat `. The same in `mssh h "cat ~/.zz`, `mssh h 'cat /etc/os-`, `mssh h cat "/etc/os-` and `mssh h sort --output=/etc/os-`. In such a word, or a quoted command holding a `/`, once the command's completion offers a name (a local file, one of its options), history's names are not offered (6.46 offers them, except in a quoted command, a double-quoted word holding an expansion or after a quote at an `=`).
|
|
1414
|
+
- Change (zsh): inside backticks, a name of a remote command's that would need quoting is left out (`zzs$v`, `zzamp&b`, ``zzb`t``, `zzc\d`, `zzq"x`). This shell reads text in backticks once more than in `$( )`, so such a name reached the remote shell one quoting level short. `$( )` offers them all. Not covered yet: mssh's own file options (`` `mssh -f zz<TAB> `` gives `zzs\$v`, so mssh gets `-f zzs`, as stock zsh does for any command), and a backtick in single quotes is counted too, so `` mssh h echo '`' zz<TAB> `` leaves out `zzs$v`, which 6.44 offered (both fixed in 6.46).
|
|
1415
|
+
- Fix (zsh): `` `mssh h ls $PWD/zzp<TAB> `` keeps the `$`: it went in as `\$PWD`. And `` `mssh --password=se<TAB> `` no longer offers a local file.
|
|
1416
|
+
|
|
1417
|
+
## Upgrading to 6.44 from 6.43
|
|
1418
|
+
|
|
1419
|
+
Run `mssh --completion install` again (bash, ble.sh, zsh and fish): the fixes below are in the new glue. What you may notice:
|
|
1420
|
+
|
|
1421
|
+
- Change (bash, ble.sh, zsh, fish): when TAB's query misses `MSSH_COMPLETE_TIMEOUT`, or the engine fails, a word that may be a remote command's or a password now gets nothing. It got a file name quoted for this shell alone: `mssh h cat zza<TAB>` gave `zzamp\&b `, which the remote shell read as `cat zzamp&b`, and `mssh -p zza<TAB>` offered a file name at a password. The first word and the value of mssh's file options still get file names (`mssh -f zza<TAB>`, `mssh --file=zza<TAB>`); a hosts word after other options (`mssh -q zza<TAB>`) gets nothing. Left: past the limit, a name that needs quoting still goes in quoted for this shell after a remote option that mssh has too (`mssh h tail -f zza<TAB>`: `-f`, `-s`, `-k`, `--file=`; bash and zsh) ([limitations](docs/limitations.md#tab-past-its-limit-a-remote-option-that-mssh-has-too-gets-a-name-quoted-for-this-shell)).
|
|
1422
|
+
- Fix (bash): `mssh -f "$PWD/zzs<TAB>` keeps the `$`: readline escaped it, in double quotes always and outside them before bash 5.2 (also `--file`, `--file=` and `-k`), so mssh got the literal text `$PWD/zzs.txt` and found no such file. Such a word's list now shows the whole word, and mssh's history offers nothing for it. A `$` with a quote closed before the word's end (`mssh -f "$PWD"/zzs<TAB>`) gets no name, where readline would give mssh the literal `\$PWD`. With `shopt -s direxpand` bash puts the expanded path in the word, as in 6.43.
|
|
1423
|
+
- Fix (zsh): a double-quoted word holding an expansion stays as typed in any mssh command, not only on a line that starts with an mssh name: after an alias (`alias m=mssh`, `m h "ls $PWD/zzp<TAB>` gave `m h ls\ /the/directory/zzp`), `sudo`, `time`, `command`, `noglob`, `&&`, `;`, `(` or `FOO=1`. It goes by the command the cursor is in: `mssh h a; ls "$PWD/zz<TAB>` is left to zsh. Any word from the last separator (`;`, `&&`, `|`, a newline, ...) on up to the cursor may be mssh's name, whatever runs it: `sudo -u root mssh`, `nice -n 5 mssh`, `timeout 5 mssh`, `xargs mssh`, a redirection first, and an alias of any of them. So `echo mssh "$PWD/zz<TAB>` completes where zsh would expand. A function you wrote (`m() { mssh "$@"; }`) is not followed.
|
|
1424
|
+
- Fix (zsh): TAB goes on into a directory completed in a double-quoted word holding an expansion: `mssh h "ls $PWD/zzd<TAB>` for a directory `zzd x`, then `in<TAB>`, gave nothing. The same in `mssh h ls "$PWD/zzd` and `mssh h "echo $USER; ls zzd`.
|
|
1425
|
+
- Fix (zsh 5.3 and later, with zsh-autosuggestions, in its synchronous and its asynchronous mode): keys arriving together no longer take the grey text of the line before them (the plugin gives the old text back while keys are waiting, before it checks it against what was typed): at `mssh gp`, `x` Right Enter ran `gpxu[01-16] nvidia-smi`. On mssh lines the grey text goes while more keys are waiting, on any line with an mssh command in it (`sudo mssh gp`, `FOO=1 mssh gp`, an alias of mssh); a function of yours that calls mssh (`m() { mssh "$@"; }`) is not seen. Off mssh lines the plugin behaves as it does alone. Before zsh 5.3 the grey text of the older line can still run ([limitations](docs/limitations.md#zsh-before-53-with-zsh-autosuggestions-keys-arriving-together-can-run-the-older-lines-grey-text)).
|
|
1426
|
+
- Change (bash): a list of names in a quote shows directories with their `/`, as a list outside a quote does.
|
|
1427
|
+
- Fix (zsh, fish 3.3): a file name after an option's `=` completes: `mssh --file=zzs<TAB>` and, in zsh, `mssh --file="$PWD/zzs<TAB>` offered nothing. Also the one-dash options (`-f=zzs`, `-k=`, `-s=`) when the query is too slow.
|
|
1428
|
+
- Fix (ble.sh): no file name is offered at a password given as `-p=`, `--password=`, `--ipmi_password=` or `-pSECRET`.
|
|
1429
|
+
- Fix (fish): `mssh h -- -x<TAB>` printed `complete: -C: option requires an argument`.
|
|
1430
|
+
|
|
1386
1431
|
## Upgrading to 6.43 from 6.42
|
|
1387
1432
|
|
|
1388
1433
|
Run `mssh --completion install` again in bash (with or without ble.sh), zsh and fish: the fixes below are in the new glue. What you may notice:
|