diff options
| author | Oliver Kiddle <opk@zsh.org> | 2025-01-27 23:00:17 +0100 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2025-01-27 23:00:17 +0100 |
| commit | 87aba4d437f5fef46917c1235c00b9162d7bcbd0 (patch) | |
| tree | ce578175d1248d14b8237ad86121b9396550c226 /Completion/Unix/Command/_mv | |
| parent | Julian Prein: 53309: remove uncommon / obsolete options -t and -W (diff) | |
| download | zsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.tar zsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.tar.gz zsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.tar.bz2 zsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.tar.lz zsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.tar.xz zsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.tar.zst zsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.zip | |
53325: cover newer BSD releases in completion
Diffstat (limited to 'Completion/Unix/Command/_mv')
| -rw-r--r-- | Completion/Unix/Command/_mv | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_mv b/Completion/Unix/Command/_mv index c52e7a5e4..983c25ea8 100644 --- a/Completion/Unix/Command/_mv +++ b/Completion/Unix/Command/_mv @@ -38,11 +38,11 @@ case $variant; in '(-f -n)-i[prompt before overwriting existing file]' ) ;| + darwin*|dragonfly*|freebsd*|netbsd*) + args+=( "-h[if target is a symlink to a directory, don't follow it]" ) + ;| darwin*|dragonfly*|freebsd*) - args+=( - "(-f -i)-n[don't overwrite existing file]" - "-h[if target is a symlink to a directory, don't follow it]" - ) + args+=( "(-f -i)-n[don't overwrite existing file]" ) ;| darwin*|dragonfly*|*bsd*) args+=( |
