From a395ea963fd42f5feb4632e90cc5ea4834c8a96e Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Mon, 6 Feb 2023 21:40:19 +0000 Subject: [PATCH] Revert "Load cargo bash completion" This reverts commit 230bce44186a80749b4d85162dd12360a59d06ba. --- roles/home-cli/files/profile | 9 --------- 1 file changed, 9 deletions(-) diff --git a/roles/home-cli/files/profile b/roles/home-cli/files/profile index eed9a58..bf4f294 100644 --- a/roles/home-cli/files/profile +++ b/roles/home-cli/files/profile @@ -89,15 +89,6 @@ then PS1="\[\033[01m\]${_acp_ps1_prefix}\u@\h\\$\[\033[00m\] " unset _acp_ps1_prefix - _acp_rust_toolchain=$(rustup toolchain list | awk '/\(default\)$/ {print $1}') - _acp_cargo_bash_completion="$HOME/.rustup/toolchains/$_acp_rust_toolchain/etc/bash_completion.d/cargo" - if [ -n "$_acp_rust_toolchain" ] && [ -r "$_acp_cargo_bash_completion" ] - then - . "$_acp_cargo_bash_completion" - fi - unset _acp_cargo_bash_completion - unset _acp_rust_toolchain - elif [ -n "$ZSH_VERSION" ] then autoload -Uz compinit && compinit