Skip to content

Commit 24b2140

Browse files
authored
Add cargo and rustup bash completion (#53)
These tools are installed already in the devcontainer and used by some incubator repositories. It does not harm to have bash completion for them as long as they are installed.
1 parent a12cb80 commit 24b2140

File tree

1 file changed

+4
-0
lines changed
  • src/s-core-devcontainer/.devcontainer/s-core-local

1 file changed

+4
-0
lines changed

src/s-core-devcontainer/.devcontainer/s-core-local/install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ apt-get install -y --no-install-recommends --fix-broken qemu-system-arm="${qemu_
105105
# sshpass
106106
apt-get install -y sshpass="${sshpass_version}*"
107107

108+
# Bash completion for rust tooling
109+
rustup completions bash rustup >> /etc/bash_completion.d/rustup.bash
110+
rustup completions bash cargo >> /etc/bash_completion.d/cargo.bash
111+
108112
# Cleanup
109113
# REMOVE CONTAINER BUILD DEPENDENCIES
110114
apt-get remove --purge -y apt-transport-https

0 commit comments

Comments
 (0)