diff options
author | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2020-01-24 19:24:09 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2020-01-24 19:24:09 -0300 |
commit | 019f3cc463db63abc6460f97deb488deec43840b (patch) | |
tree | 08cd5387d6c8af6f688d6468c7e2ae9f25c449be /completions/curl | |
parent | 5732da2af736c40cf693354485446ab4867ecb4d (diff) | |
download | bash-completion-019f3cc463db63abc6460f97deb488deec43840b.tar.gz |
New upstream version 2.10upstream/2.10
Diffstat (limited to 'completions/curl')
-rw-r--r-- | completions/curl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/completions/curl b/completions/curl index 2fe06272..d744e49a 100644 --- a/completions/curl +++ b/completions/curl @@ -43,6 +43,10 @@ _curl() if [[ $cur == \@* ]]; then cur=${cur:1} _filedir + if [[ ${#COMPREPLY[@]} -eq 1 && -d "${COMPREPLY[0]}" ]]; then + COMPREPLY[0]+=/ + compopt -o nospace + fi COMPREPLY=( "${COMPREPLY[@]/#/@}" ) fi return @@ -72,7 +76,7 @@ _curl() return ;; --pubkey) - _filedir pub + _xfunc ssh _ssh_identityfile pub return ;; --stderr) |