diff --git a/misc/completions/zsh/_lscp b/misc/completions/zsh/_lscp deleted file mode 100644 index 11737472..00000000 --- a/misc/completions/zsh/_lscp +++ /dev/null @@ -1,48 +0,0 @@ -#compdef lscp - -_aftercolon() { - if compset -P 1 '*:'; then - _files "$expl[@]" - else - _files "$expl[@]" - fi -} - -_lscp() { - _arguments -s \ - '(- *)'{-h,--help}'[Show help]' \ - '(-p,--permission)'{-p,--permission}'[copy with permission flag]' \ - '(-H --host)'{-H,--host}'[Connect servername]:_message' \ - '(-f --file)'{-f,--file}'+[Config file path]:include file:_files' \ - '*:: :->args' \ - && ret=0 - case $state in - (args) - case $words[1] in - (l:) - _aftercolon && ret=0 - ;; - (local:) - _aftercolon && ret=0 - ;; - (r:) - # TODO - ;; - (remote:) - # TODO - ;; - esac - ;; - esac - - return ret -} - -__lscp_type () { - local -a _t - _t=( - {local,l}':local' - {remote,r}':remote' - ) - _describe -t values "Type" _t -} \ No newline at end of file diff --git a/misc/completions/zsh/_lsftp b/misc/completions/zsh/_lsftp deleted file mode 100644 index 6503e369..00000000 --- a/misc/completions/zsh/_lsftp +++ /dev/null @@ -1 +0,0 @@ -#compdef lscp diff --git a/misc/completions/zsh/_lssh b/misc/completions/zsh/_lssh index 7dff7558..3ed8a8bc 100644 --- a/misc/completions/zsh/_lssh +++ b/misc/completions/zsh/_lssh @@ -5,8 +5,8 @@ _lssh() { '(- *)'{-v,--version}'[print the version]' \ '(-H --host)'{-H,--host}'[Connect servername]:_message' \ '(-f --file)'{-f,--file}'+[Config file path]:include file:_files' \ - '-L[Local port forward mode.Specify a [bind_address:]port:remote_address:port]' \ - '-R[Remote port forward mode.Specify a [bind_address:]port:remote_address:port.]' \ + '-L[Local port forward mode.Specify a \[bind_address:\]port:remote_address:port]' \ + '-R[Remote port forward mode.Specify a \[bind_address:\]port:remote_address:port.]' \ '-D[Dynamic port forward mode(Socks5). Specify a port.]' \ '-w[Displays the server header when in command execution mode.]' \ '-W[Not displays the server header when in command execution mode.]' \