[Bash-completion-commits] [bash-completion] 01/04: ssh-copy-id: Offer only *.pub to -i

Ville Skyttä scop-guest at moszumanska.debian.org
Sat Sep 5 07:22:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

scop-guest pushed a commit to branch master
in repository bash-completion.

commit f9f66c39d35c18c5985bc2baca2242c2e17d539a
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Sep 5 10:09:30 2015 +0300

    ssh-copy-id: Offer only *.pub to -i
---
 completions/ssh-copy-id | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/completions/ssh-copy-id b/completions/ssh-copy-id
index 9c5af9c..3022a60 100644
--- a/completions/ssh-copy-id
+++ b/completions/ssh-copy-id
@@ -7,7 +7,7 @@ _ssh_copy_id()
 
     case $prev in
         -i)
-            _filedir
+            _filedir pub
             return 0
             ;;
     esac

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git



More information about the Bash-completion-commits mailing list