diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2026-06-07 08:11:15 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2026-06-10 05:20:51 +0200 |
| commit | ff742aa0adaa85ce77b019e500272237bafaafd0 (patch) | |
| tree | 2ae29af77cb66562a7eb2ddd13c765f152055fd9 /Completion/Unix/Command/_dmidecode | |
| parent | 54692: untokenize string sent to matheval for (#) flag (diff) | |
| download | zsh-ff742aa0adaa85ce77b019e500272237bafaafd0.tar zsh-ff742aa0adaa85ce77b019e500272237bafaafd0.tar.gz zsh-ff742aa0adaa85ce77b019e500272237bafaafd0.tar.bz2 zsh-ff742aa0adaa85ce77b019e500272237bafaafd0.tar.lz zsh-ff742aa0adaa85ce77b019e500272237bafaafd0.tar.xz zsh-ff742aa0adaa85ce77b019e500272237bafaafd0.tar.zst zsh-ff742aa0adaa85ce77b019e500272237bafaafd0.zip | |
54693: show ARGV0 and - precommand more clearly in xtrace output
Reported in 48901.
Also has a secondary effect of correcting the string sent to the
command_not_found_handler. If you don't have such a handler, then the
errors are correct before the patch as well.
command_not_found_handler() { echo -E >&2 command not found: $1 }
Before:
% ARGV0=foobar blurg
zsh:1> ARGV0=foobar foobar
command not found: foobar
% - blurg
+zsh:1> -blurg
command not found: -blurg
% ARGV0=foobar - blurg
+zsh:1> ARGV0=foobar foobar
command not found: foobar
After:
% ARGV0=foobar blurg
+zsh:1> ARGV0=foobar blurg
command not found: blurg
% - blurg
+zsh:1> - blurg
command not found: blurg
% ARGV0=foobar - blurg
+zsh:1> ARGV0=foobar - blurg
command not found: blurg
Diffstat (limited to 'Completion/Unix/Command/_dmidecode')
0 files changed, 0 insertions, 0 deletions
