summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_ln
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_ln')
-rw-r--r--Completion/Unix/Command/_ln12
1 files changed, 4 insertions, 8 deletions
diff --git a/Completion/Unix/Command/_ln b/Completion/Unix/Command/_ln
index 9d5efcabb..7bd2f7f27 100644
--- a/Completion/Unix/Command/_ln
+++ b/Completion/Unix/Command/_ln
@@ -45,9 +45,11 @@ case $variant; in
{-h,-n}'[do not dereference destination]'
'(-f)-i[prompt before removing destination files]')
;;
- darwin*|dragonfly*|freebsd*|netbsd*|openbsd*)
+ darwin*|dragonfly*|*bsd*)
args+=(
- {-h,-n}'[do not dereference destination]'
+ {-h,-n}"[don't dereference destination]"
+ '(-L)-P[create hard links directly to symbolic links]'
+ '(-P)-L[create hard links to symbolic link references]'
)
;|
darwin*|dragonfly*|freebsd*|netbsd*)
@@ -57,12 +59,6 @@ case $variant; in
'-v[print name of each linked file]'
)
;|
- dragonfly*|freebsd*|netbsd*|openbsd*)
- args+=(
- '(-L)-P[create hard links directly to symbolic links]'
- '(-P)-L[create hard links to symbolic link references]'
- )
- ;|
dragonfly*|freebsd*|netbsd*)
args+=(
"-w[warn if source of a symbolic link doesn't currently exist]"