summary refs log tree commit diff
path: root/Completion/Linux/Command
diff options
context:
space:
mode:
authorMatthew Martin <phy1729@gmail.com>2018-01-07 00:59:22 -0600
committerOliver Kiddle <opk@zsh.org>2018-01-10 23:39:58 +0100
commitef0aae1c27fb198f6b7983aa85fe44853a6f426c (patch)
tree733ad4477c43bb8952569099b72b20289285e632 /Completion/Linux/Command
parent36fcaeb16799738631d4519e74d2e6398478776d (diff)
downloadzsh-ef0aae1c27fb198f6b7983aa85fe44853a6f426c.tar.gz
zsh-ef0aae1c27fb198f6b7983aa85fe44853a6f426c.tar.xz
zsh-ef0aae1c27fb198f6b7983aa85fe44853a6f426c.zip
42242: add [DFNO]BSD to the mix in ldconfig completion
Diffstat (limited to 'Completion/Linux/Command')
-rw-r--r--Completion/Linux/Command/_ldconfig35
1 files changed, 0 insertions, 35 deletions
diff --git a/Completion/Linux/Command/_ldconfig b/Completion/Linux/Command/_ldconfig
deleted file mode 100644
index 5f4802f91..000000000
--- a/Completion/Linux/Command/_ldconfig
+++ /dev/null
@@ -1,35 +0,0 @@
-#compdef ldconfig ldconfig.real
-
-local ret=1
-local -a context line state state_descr
-local -A opt_args
-
-_arguments -s -S : \
-  '(x -v --verbose)'{-v,--verbose}'[output verbosely]' \
-  '(x)*: :->files' \
-  + x \
-  '(: -)'{-\?,--help}'[display help information]' \
-  '(: -)'{-p,--print-cache}'[display libraries in current cache]' \
-  '(: -)--usage[display brief usage information]' \
-  '(: -)'{-V,--version}'[display version information]' \
-  + l \
-  '(x o)-l[manually link individual libraries (library mode)]' \
-  + o \
-  '(x l -c --format)'{-c+,--format=}'[specify cache format]:cache format:(old new compat)' \
-  '(x l)-C+[specify cache file to use instead of /etc/ld.so.cache]:cache file:_files' \
-  '(x l)-f+[specify configuration file to use instead of /etc/ld.so.conf]:configuration file:_files' \
-  '(x l -i --ignore-aux-cache)'{-i,--ignore-aux-cache}'[ignore auxiliary cache file]' \
-  '(x l -N)-n[process only directories specified on command line (implies -N)]' \
-  '(x l)-N[do not rebuild cache]' \
-  '(x l)-r+[specify root directory]:root directory:_directories' \
-  '(x l)-X[do not update symbolic links]' \
-&& ret=0
-
-[[ $state == files ]] &&
-if [[ -n ${opt_args[(I)l--l]} ]]; then
-  _object_files && ret=0
-else
-  _directories && ret=0
-fi
-
-return ret