summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_ls
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2026-05-14 22:08:17 +0200
committerOliver Kiddle <opk@zsh.org>2026-05-14 22:08:17 +0200
commitf3cd3a4608d938782bdc881272baa3949d3c37ae (patch)
tree1a2fd64fbd855bb9dead7bb21bc6f5486ef57361 /Completion/Unix/Command/_ls
parent54518: util: add git merge driver zsh-merge-changelog (diff)
downloadzsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.gz
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.bz2
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.lz
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.xz
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.zst
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.zip
54526: update completions for FreeBSD 14.4 and 15.0
Diffstat (limited to 'Completion/Unix/Command/_ls')
-rw-r--r--Completion/Unix/Command/_ls14
1 files changed, 12 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_ls b/Completion/Unix/Command/_ls
index a92b91b31..5cd2e7f54 100644
--- a/Completion/Unix/Command/_ls
+++ b/Completion/Unix/Command/_ls
@@ -108,6 +108,12 @@ if ! _pick_variant gnu='(GNU|uutils)' unix --version; then
'-Z[display MAC label]'
)
fi
+ if [[ $OSTYPE = freebsd<15->.* ]]; then
+ arguments+=(
+ '(--group-directories-first)--group-directories=:order:(first last)'
+ '(--group-directories)--group-directories-first'
+ )
+ fi
if [[ $OSTYPE = darwin* ]]; then
arguments+=(
'-@[display extended attribute keys and sizes in long listing]'
@@ -118,14 +124,18 @@ if ! _pick_variant gnu='(GNU|uutils)' unix --version; then
'-%[distinguish dataless files and directories with a %]'
)
fi
- if [[ $OSTYPE = solaris* ]]; then
+ if [[ $OSTYPE = (aix|solaris)* ]]; then
arguments+=(
'(-q)-b[print octal escapes for control characters]'
'(-l -1 -C -m -x)-o[long listing but without group information]'
'(-l -t -s -r -a)-f[interpret each argument as a directory]'
+ '-H[follow symlinks on the command line]'
+ )
+ fi
+ if [[ $OSTYPE = solaris* ]]; then
+ arguments+=(
'(-E -l)-e[long listing with full and consistent date/time]'
'(-e -l)-E[long listing with ISO format date/time]'
- '-H[follow symlinks on the command line]'
'-v[long listing with verbose ACL information]'
'-V[long listing with compact ACL information]'
'-@[long listing with marker for extended attribute information]'