From 6a77bd576366713a4f394dcef5f331625315eaa2 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 2 Nov 2023 06:13:23 +0000 Subject: automatic import of rust --- cargo-config.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 cargo-config.sh (limited to 'cargo-config.sh') diff --git a/cargo-config.sh b/cargo-config.sh new file mode 100644 index 0000000..2338945 --- /dev/null +++ b/cargo-config.sh @@ -0,0 +1,5 @@ +# Copy cargo config from skel if it is not exist +if [ ! -f "$HOME/.cargo/config.toml" ] ; then + mkdir -p $HOME/.cargo + cp -f /etc/skel/.cargo/config.toml $HOME/.cargo +fi -- cgit v1.2.3