summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_ls
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_ls')
-rw-r--r--Completion/Unix/Command/_ls8
1 files changed, 6 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_ls b/Completion/Unix/Command/_ls
index cedea1de9..1fd9383f5 100644
--- a/Completion/Unix/Command/_ls
+++ b/Completion/Unix/Command/_ls
@@ -81,10 +81,14 @@ if ! _pick_variant gnu=gnu unix --help; then
if [[ $OSTYPE = (dragonfly*|freebsd*) ]]; then
arguments+=(
'(-A)-I[prevent -A from being automatically set for the super-user]'
+ '(-1 -C -m -x)-D+[specify format for date]:format: _date_formats'
)
fi
if [[ $OSTYPE = dragonfly* ]]; then
- arguments+=( '-y[display FSMID in long listing]' )
+ arguments+=(
+ '-_[use GMT based date and time output with nanotime timestamp]'
+ '-y[display FSMID in long listing]'
+ )
fi
if [[ $OSTYPE = (freebsd*|darwin*) ]]; then
arguments+=( '(-c -u)-U[file creation time]' )
@@ -92,9 +96,9 @@ if ! _pick_variant gnu=gnu unix --help; then
if [[ $OSTYPE = freebsd* ]]; then
arguments+=(
'-,[print file sizes grouped and separated by thousands]'
- '-D+[specify format for date]:format: _date_formats'
'-y[with -t, sort filenames in the same order as the time]'
'-Z[display MAC label]'
+ '--color=-[control use of color]:color:(never always auto)'
)
fi
if [[ $OSTYPE = darwin* ]]; then