]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Adding initial completion for genpair
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 18 Jul 2013 19:47:34 +0000 (16:47 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 18 Jul 2013 19:47:34 +0000 (16:47 -0300)
lib/keyringer/completions/bash

index 03907d4f98c3e90606bb0d9b944f693444f7da79..74c58128c8b3f16b9798b18bf08ad70a863b6840 100644 (file)
@@ -37,6 +37,9 @@ _keyringer() {
       ls|encrypt|encrypt-batch|decrypt|edit|append|append-batch|del|recrypt)
         opts="$(bash -c "set -f && keyringer $instance ls -p -d ${cur}*" 2> /dev/null)"
         ;;
+      genpair)
+        opts="gpg ssh ssl ssl-self"
+        ;;
       *)
         ;;
     esac