From 333be4d3a31e7cf9efc038460fdb044997e2468d Mon Sep 17 00:00:00 2001 From: rusty-snake Date: Fri, 21 Dec 2018 16:58:37 +0100 Subject: updates for ~/.cargo --- etc/atom.profile | 2 ++ etc/brackets.profile | 4 ++++ etc/disable-common.inc | 5 +++++ etc/gnome-builder.profile | 2 ++ 4 files changed, 13 insertions(+) diff --git a/etc/atom.profile b/etc/atom.profile index ceb68ef3d..995c5598d 100644 --- a/etc/atom.profile +++ b/etc/atom.profile @@ -8,6 +8,8 @@ include globals.local noblacklist ${HOME}/.atom noblacklist ${HOME}/.config/Atom +noblacklist ${HOME}/.cargo/config +noblacklist ${HOME}/.cargo/registry include disable-common.inc include disable-passwdmgr.inc diff --git a/etc/brackets.profile b/etc/brackets.profile index 17e742d4b..783b9db87 100644 --- a/etc/brackets.profile +++ b/etc/brackets.profile @@ -8,6 +8,10 @@ include globals.local noblacklist ${HOME}/.config/Brackets #noblacklist /opt/brackets/ #noblacklist /opt/google/ +# Uncomment the the next two lines if you are developing rust. +#noblacklist ${HOME}/.cargo/config +#noblacklist ${HOME}/.cargo/registry + include disable-common.inc include disable-passwdmgr.inc diff --git a/etc/disable-common.inc b/etc/disable-common.inc index 895294043..b333293fd 100644 --- a/etc/disable-common.inc +++ b/etc/disable-common.inc @@ -272,6 +272,11 @@ read-only ${HOME}/.bin read-only ${HOME}/.local/bin read-only ${HOME}/.cargo/bin +# cargo +read-only ${HOME}/.cargo/env +blacklist ${HOME}/.cargo/registry +blacklist ${HOME}/.cargo/config + # Write-protection for desktop entries read-only ${HOME}/.config/menus read-only ${HOME}/.local/share/applications diff --git a/etc/gnome-builder.profile b/etc/gnome-builder.profile index dffe16263..d497440f0 100644 --- a/etc/gnome-builder.profile +++ b/etc/gnome-builder.profile @@ -6,6 +6,8 @@ include gnome-builder.local # Persistent global definitions include globals.local +noblacklist ${HOME}/.cargo/config +noblacklist ${HOME}/.cargo/registry include disable-common.inc include disable-passwdmgr.inc -- cgit v1.2.3-54-g00ecf