aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Nicoulaud <julien.nicoulaud@gmail.com>2018-08-26 01:07:30 +0200
committerJulien Nicoulaud <julien.nicoulaud@gmail.com>2018-08-26 01:07:30 +0200
commit8e5db9fcb100e495e3f93cb0fd64bb8697c49a59 (patch)
tree923c7a7dfc7b827fe27c299cc4e0f9276320a89c
parentMerge pull request #568 from kapsh/glances (diff)
downloadzsh-completions-8e5db9fcb100e495e3f93cb0fd64bb8697c49a59.tar
zsh-completions-8e5db9fcb100e495e3f93cb0fd64bb8697c49a59.tar.gz
zsh-completions-8e5db9fcb100e495e3f93cb0fd64bb8697c49a59.tar.bz2
zsh-completions-8e5db9fcb100e495e3f93cb0fd64bb8697c49a59.tar.lz
zsh-completions-8e5db9fcb100e495e3f93cb0fd64bb8697c49a59.tar.xz
zsh-completions-8e5db9fcb100e495e3f93cb0fd64bb8697c49a59.tar.zst
zsh-completions-8e5db9fcb100e495e3f93cb0fd64bb8697c49a59.zip
#562: rclone now ships its own completion (https://github.com/ncw/rclone/commit/f1f7e0e6f9ea6da5be51a272e94869209aefb487)
-rw-r--r--src/_rclone119
1 files changed, 0 insertions, 119 deletions
diff --git a/src/_rclone b/src/_rclone
deleted file mode 100644
index 15d3fc0..0000000
--- a/src/_rclone
+++ /dev/null
@@ -1,119 +0,0 @@
-#compdef rclone
-
-# ------------------------------------------------------------------------------
-# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# * Neither the name of the zsh-users nor the
-# names of its contributors may be used to endorse or promote products
-# derived from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL ZSH-USERS BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# ------------------------------------------------------------------------------
-# Description
-# -----------
-#
-# Completion script for rclone (http://rclone.org/).
-#
-# ------------------------------------------------------------------------------
-# Author(s)
-# -------
-#
-# * Rajat Roy <i3wm.debian@gmail.com>
-#
-# ------------------------------------------------------------------------------
-
-_rclone() {
- local state
-
- _arguments \
- '1: :->subcommand' \
- '--bwlimit' \
- '--checkers' \
- '(-c --checksum)'{-c,--checksum}'[check the file hash and size to determine if files are equal]' \
- '--config' \
- '--contimeout' \
- '--dedupe-mode' \
- '(-n --dry-run)'{-n,--dry-run}'[Do a trial run with no permanent changes]' \
- '--ignore-existing' \
- '--ignore-size' \
- '(-I --ignore-times)'{-I,--ignore-times}'[unconditionally upload all files regardless of the state of files on the destination]' \
- '--log-file' \
- '--low-level-retries' \
- '--max-depth' \
- '--modify-window' \
- '--no-gzip-encoding' \
- '--no-update-modtime' \
- '(-q --quiet)'{-q,--quiet}'[as little output as possible]' \
- '--retries' \
- '--size-only' \
- '--stats' \
- '--delete-' \
- '--timeout' \
- '--transfers' \
- '(-u --update)'{-u,--update}'[skip any files which exist on the destination and have a modified time that is newer than the source file]' \
- '(-v --verbose)'{-v,--verbose}'[tells you about every file it considers and transfers]' \
- '--delete-excluded' \
- '--filter' \
- '--filter-from' \
- '-exclude' \
- '--exclude-from' \
- '--include' \
- '--include-from' \
- '--files-from' \
- '--min-size' \
- '--max-size' \
- '--min-age' \
- '--max-age' \
- '--dump-filters' \
- '*:files:_files'
-
- case $state in
- subcommand)
- _arguments '1: :(
- config
- copy
- sync
- move
- delete
- purge
- mkdir
- rmdir
- check
- ls
- lsd
- lsl
- md5sum
- sha1sum
- size
- version
- cleanup
- dedupe
- authorize
- cat
- genautocomplete
- gendocs
- listremotes
- mount
- --help)'
- ;;
- esac
-}
-
-_rclone "$@"