aboutsummaryrefslogtreecommitdiffstats
path: root/transmission-remote-cli-bash-completion.sh
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2013-08-03 01:23:32 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2013-08-03 01:23:32 +0100
commit7cd90128add168a27fc6e9b93756fbc0a3c65f8f (patch)
treed25bc85d47685b84f895ae86774c830eae59fe40 /transmission-remote-cli-bash-completion.sh
parent322091b9506126cd06ecd3ba95aa73e3099f12d8 (diff)
downloadtransmission-remote-cli-7cd90128add168a27fc6e9b93756fbc0a3c65f8f.tar.gz
Imported Upstream version 1.6.1upstream/1.6.1
Diffstat (limited to 'transmission-remote-cli-bash-completion.sh')
-rw-r--r--transmission-remote-cli-bash-completion.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/transmission-remote-cli-bash-completion.sh b/transmission-remote-cli-bash-completion.sh
deleted file mode 100644
index 53e7f36..0000000
--- a/transmission-remote-cli-bash-completion.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-_transmission-remote-cli () {
- local cur prev opts
-
- _get_comp_words_by_ref cur prev
-
- opts="-h --help -v --version -c --connect -s --ssl -f --config --create-config -n --netrc --debug"
-
- if [[ ${cur} == -* ]] ; then
- COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
- else
- case "${prev}" in
- -c|--connect)
- # no completion, wait for user input
- ;;
- -f|--config)
- # dirs and files
- _filedir
- ;;
- *)
- # dirs and torrents
- _filedir torrent
- ;;
- esac
- fi
-}
-
-complete -F _transmission-remote-cli transmission-remote-cli