diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-08-15 13:37:28 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-08-15 13:37:50 +0200 |
commit | b5f7cc0b70f15d4d510109691577bc1ea22a03ab (patch) | |
tree | bff209d1716d86d413ea6bd2b6b79d184f9a3ac4 /tool | |
parent | 434b6573896f9cead19fab97aeed874fd167849f (diff) |
tool: Create shell completions for all supported shells.
Diffstat (limited to 'tool')
-rw-r--r-- | tool/Cargo.toml | 2 | ||||
-rw-r--r-- | tool/build.rs | 3 |
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); } |