summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-08-15 13:37:28 +0200
committerJustus Winter <justus@sequoia-pgp.org>2018-08-15 13:37:50 +0200
commitb5f7cc0b70f15d4d510109691577bc1ea22a03ab (patch)
treebff209d1716d86d413ea6bd2b6b79d184f9a3ac4
parent434b6573896f9cead19fab97aeed874fd167849f (diff)
tool: Create shell completions for all supported shells.
-rw-r--r--tool/Cargo.toml2
-rw-r--r--tool/build.rs3
2 files changed, 3 insertions, 2 deletions
diff --git a/tool/Cargo.toml b/tool/Cargo.toml
index 1266a6c0..708efdc9 100644
--- a/tool/Cargo.toml
+++ b/tool/Cargo.toml
@@ -9,7 +9,7 @@ openpgp = { path = "../openpgp" }
sequoia-core = { path = "../core" }
sequoia-net = { path = "../net" }
sequoia-store = { path = "../store" }
-clap = "2.27.1"
+clap = "2.32.0"
failure = "0.1.1"
prettytable-rs = "0.7.0"
rpassword = "2.0.0"
diff --git a/tool/build.rs b/tool/build.rs
index da876a41..2dc5371d 100644
--- a/tool/build.rs
+++ b/tool/build.rs
@@ -18,7 +18,8 @@ fn main() {
};
let mut sq = sq_cli::build();
let mut sqv = sqv_cli::build();
- for shell in &[Shell::Bash, Shell::Fish] {
+ for shell in &[Shell::Bash, Shell::Fish, Shell::Zsh, Shell::PowerShell,
+ Shell::Elvish] {
sq.gen_completions("sq", *shell, &outdir);
sqv.gen_completions("sqv", *shell, &outdir);
}