diff options
| author | dana <dana@dana.is> | 2026-05-30 22:24:29 -0500 |
|---|---|---|
| committer | dana <dana@dana.is> | 2026-05-30 23:01:56 -0500 |
| commit | 682ed9c5ae812174c5fc1e1bf3e83cb7a41129fc (patch) | |
| tree | 71a3ad5623707dfb8d8c0af60badf3a48ec8b8a5 /Completion/Unix | |
| parent | 54625: remove .cvsignore (diff) | |
| download | zsh-682ed9c5ae812174c5fc1e1bf3e83cb7a41129fc.tar zsh-682ed9c5ae812174c5fc1e1bf3e83cb7a41129fc.tar.gz zsh-682ed9c5ae812174c5fc1e1bf3e83cb7a41129fc.tar.bz2 zsh-682ed9c5ae812174c5fc1e1bf3e83cb7a41129fc.tar.lz zsh-682ed9c5ae812174c5fc1e1bf3e83cb7a41129fc.tar.xz zsh-682ed9c5ae812174c5fc1e1bf3e83cb7a41129fc.tar.zst zsh-682ed9c5ae812174c5fc1e1bf3e83cb7a41129fc.zip | |
unposted: _diff_options: assume diff under netbsd is gnu-like
based on this patch by ryoon <ryoon@pkgsrc.org>:
https://github.com/NetBSD/pkgsrc/blob/275a7cad4b867684/shells/zsh/patches/patch-Completion_Unix_Type___diff__options
Diffstat (limited to 'Completion/Unix')
| -rw-r--r-- | Completion/Unix/Type/_diff_options | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_diff_options b/Completion/Unix/Type/_diff_options index 03ea1d7fe..ba3f02c8f 100644 --- a/Completion/Unix/Type/_diff_options +++ b/Completion/Unix/Type/_diff_options @@ -26,7 +26,7 @@ _diff_palette() { } if _pick_variant -r variant -c $cmd gnu=GNU unix -v || - [[ $OSTYPE = (freebsd<12->|darwin<22->).* ]]; then + [[ $OSTYPE = (freebsd<12->.|darwin<22->.|netbsd)* ]]; then (( $#words > 2 )) && ign='!' # output formats |
