summaryrefslogtreecommitdiff
path: root/cargo-config.csh
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-01-17 10:02:05 +0000
committerCoprDistGit <infra@openeuler.org>2026-01-17 10:02:05 +0000
commit6333e633b06f17390138604211a6031cf74c63ed (patch)
tree52613ddf40ea6f05f6cb0a59f6ea69f633fd24e2 /cargo-config.csh
parentcb89bfe3dd8136ee569765c61e0668035a13fe14 (diff)
automatic import of rust
Diffstat (limited to 'cargo-config.csh')
-rw-r--r--cargo-config.csh5
1 files changed, 5 insertions, 0 deletions
diff --git a/cargo-config.csh b/cargo-config.csh
new file mode 100644
index 0000000..7613473
--- /dev/null
+++ b/cargo-config.csh
@@ -0,0 +1,5 @@
+# Copy cargo config from skel if it is not exist
+if ( ! -e "$HOME/.cargo/config.toml" ) then
+ mkdir -p $HOME/.cargo
+ cp -f /etc/skel/.cargo/config.toml $HOME/.cargo
+endif