2018-10-13 13:06:23 -07:00
|
|
|
#compdef quickdel
|
|
|
|
|
2019-03-01 15:59:17 -08:00
|
|
|
# ========== Completions ==========
|
2018-10-13 13:06:23 -07:00
|
|
|
local arguments
|
|
|
|
|
|
|
|
arguments=(
|
2019-03-17 00:54:32 -07:00
|
|
|
{-d,--directories-only}'[filter results to directories]'
|
|
|
|
{-e,--empty-only}'[filter results to empty files and directories]'
|
|
|
|
{-f,--files-only}'[filter results to files]'
|
|
|
|
{-F,--force-directory-delete}'[do not ignore non-empty directories, delete anyways]'
|
|
|
|
{-E,--extension}'[file extension]'
|
2018-10-13 13:06:23 -07:00
|
|
|
{-h,--help}'[print this help page]'
|
|
|
|
{-i,--no-ignore}'[do not ignore .gitignore and .fdignore]'
|
|
|
|
{-I,--no-ignore-vcs}'[do not ignore .gitignore]'
|
2019-03-17 00:54:32 -07:00
|
|
|
{-l,--links-only}'[filter results to symlinks]'
|
2018-10-13 13:06:23 -07:00
|
|
|
'*:filename:_files'
|
|
|
|
)
|
|
|
|
|
2019-03-17 00:54:32 -07:00
|
|
|
|
2018-10-13 13:06:23 -07:00
|
|
|
_arguments -s $arguments
|