From 06b1ffecc0d3abe84a784103c5f9c8f7ae7b1ae9 Mon Sep 17 00:00:00 2001 From: Noah Gorny Date: Thu, 19 Nov 2020 01:10:02 +0200 Subject: [PATCH 1/2] Add rustup completion --- completion/available/rustup.completion.bash | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 completion/available/rustup.completion.bash diff --git a/completion/available/rustup.completion.bash b/completion/available/rustup.completion.bash new file mode 100644 index 00000000..96822031 --- /dev/null +++ b/completion/available/rustup.completion.bash @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +# rustup (Rust toolchain installer) completion + +if _binary_exists rustup; then + eval "$(rustup completions bash)" +fi From b70da511f2685a055caf38fbc72a48766315bf57 Mon Sep 17 00:00:00 2001 From: Noah Gorny Date: Fri, 20 Nov 2020 13:01:41 +0200 Subject: [PATCH 2/2] Add rustup completion to clean_files.txt --- clean_files.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clean_files.txt b/clean_files.txt index 0276d20b..52981cf4 100644 --- a/clean_files.txt +++ b/clean_files.txt @@ -27,3 +27,7 @@ lint_clean_files.sh # themes/90210 themes/powerline + +# completions +# +completion/available/rustup.completion.bash